summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2015-12-19 20:36:07 +0100
committerMichael Albinus <michael.albinus@gmx.de>2015-12-19 20:36:07 +0100
commit6a8a41c5104b29846ed6e69da7576e0960f2bf14 (patch)
tree962ad614368eb992f1577ebddeeb614cb4f4bd92
parent431181c664b18a7b60674e27c9b57d0121d494b2 (diff)
* tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
-rw-r--r--lisp/net/tramp-sh.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 95fafb848d..aebfe42216 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -5438,7 +5438,7 @@ Return ATTR."
(tramp-message vec 5 "Checking, whether `ls -w' works")
;; Option "-w" is available on BSD systems.
(tramp-send-command-and-check
- vec (format "%s -alw /dev/null" (tramp-get-ls-command vec))))))
+ vec (format "%s -alw" (tramp-get-ls-command vec))))))
(defun tramp-get-test-command (vec)
(with-tramp-connection-property vec "test"