aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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