aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2013-09-19 21:14:26 +0200
committerMichael Albinus2013-09-19 21:14:26 +0200
commite189e54eea9d4317c484e534cfbce0bcfb4046ce (patch)
tree6de21e16acd0a558d293a832db8c4044b92c8950
parent85e05915242ee49f568e4502bde3bad3730f3097 (diff)
downloademacs-e189e54eea9d4317c484e534cfbce0bcfb4046ce.tar.gz
emacs-e189e54eea9d4317c484e534cfbce0bcfb4046ce.zip
Fix previous patch.
-rw-r--r--lisp/net/tramp-sh.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index def19e99515..4bc836b88d5 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -5000,7 +5000,8 @@ Return ATTR."
5000 (tramp-get-remote-uid-with-perl vec id-format)) 5000 (tramp-get-remote-uid-with-perl vec id-format))
5001 ((tramp-get-remote-python vec) 5001 ((tramp-get-remote-python vec)
5002 (tramp-get-remote-uid-with-python vec id-format)) 5002 (tramp-get-remote-uid-with-python vec id-format))
5003 (t (tramp-error vec "Cannot determine remote uid"))))) 5003 (t (tramp-error
5004 vec 'file-error "Cannot determine remote uid")))))
5004 ;; The command might not always return a number. 5005 ;; The command might not always return a number.
5005 (if (and (equal id-format 'integer) (not (integerp res))) -1 res)))) 5006 (if (and (equal id-format 'integer) (not (integerp res))) -1 res))))
5006 5007
@@ -5040,7 +5041,8 @@ Return ATTR."
5040 (tramp-get-remote-gid-with-perl vec id-format)) 5041 (tramp-get-remote-gid-with-perl vec id-format))
5041 ((tramp-get-remote-python vec) 5042 ((tramp-get-remote-python vec)
5042 (tramp-get-remote-gid-with-python vec id-format)) 5043 (tramp-get-remote-gid-with-python vec id-format))
5043 (t (tramp-error vec "Cannot determine remote gid"))))) 5044 (t (tramp-error
5045 vec 'file-error "Cannot determine remote gid")))))
5044 ;; The command might not always return a number. 5046 ;; The command might not always return a number.
5045 (if (and (equal id-format 'integer) (not (integerp res))) -1 res)))) 5047 (if (and (equal id-format 'integer) (not (integerp res))) -1 res))))
5046 5048