]> code.delx.au - gnu-emacs/commitdiff
* tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 19 Dec 2015 19:36:07 +0000 (20:36 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 19 Dec 2015 19:36:07 +0000 (20:36 +0100)
lisp/net/tramp-sh.el

index 95fafb848d961c6cbb43614a822a85b051ad0c90..aebfe422168c874f7e2652ccb8db2ef79a7b3c1f 100644 (file)
@@ -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"