From: Michael Albinus Date: Sat, 19 Dec 2015 19:36:07 +0000 (+0100) Subject: * tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check. X-Git-Tag: emacs-25.0.90~427 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6a8a41c5104b29846ed6e69da7576e0960f2bf14;p=emacs.git * tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check. --- diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 95fafb848d9..aebfe422168 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"