diff options
Diffstat (limited to 'lisp/net')
| -rw-r--r-- | lisp/net/tramp-sh.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 01abfe0e71f..efad151dac8 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -1042,7 +1042,8 @@ target of the symlink differ." | |||
| 1042 | (setq result (concat result "/")))))) | 1042 | (setq result (concat result "/")))))) |
| 1043 | 1043 | ||
| 1044 | (tramp-message v 4 "True name of `%s' is `%s'" localname result) | 1044 | (tramp-message v 4 "True name of `%s' is `%s'" localname result) |
| 1045 | result))))) | 1045 | (if (string-equal (file-name-nondirectory localname) "") |
| 1046 | (file-name-as-directory result) result)))))) | ||
| 1046 | 1047 | ||
| 1047 | ;; Basic functions. | 1048 | ;; Basic functions. |
| 1048 | 1049 | ||