From 6a8a41c5104b29846ed6e69da7576e0960f2bf14 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 19 Dec 2015 20:36:07 +0100 Subject: [PATCH] * tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check. --- lisp/net/tramp-sh.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2