aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/tramp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index d0d8f276ca2..2a60aff383b 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -2970,7 +2970,7 @@ User is always nil."
2970 2970
2971(defun tramp-handle-access-file (filename string) 2971(defun tramp-handle-access-file (filename string)
2972 "Like `access-file' for Tramp files." 2972 "Like `access-file' for Tramp files."
2973 (unless (file-readable-p filename) 2973 (unless (file-readable-p (file-truename filename))
2974 (tramp-error 2974 (tramp-error
2975 (tramp-dissect-file-name filename) tramp-file-missing 2975 (tramp-dissect-file-name filename) tramp-file-missing
2976 "%s: No such file or directory %s" string filename))) 2976 "%s: No such file or directory %s" string filename)))