diff --git a/lisp/tramp-adb.el b/lisp/tramp-adb.el index f2c50983..a0377634 100644 --- a/lisp/tramp-adb.el +++ b/lisp/tramp-adb.el @@ -348,7 +348,9 @@ arguments to pass to the OPERATION." "ls -1 --time-style=long-iso") ;; Can't disable coloring explicitly for toybox ls command. We ;; also must force "ls" to print just one column. - ((tramp-adb-send-command-and-check vec "toybox") "ls -1") + ((tramp-adb-send-command-and-check + vec (concat "ls -1 " (tramp-get-remote-null-device vec))) + "ls -1") ;; On CyanogenMod based system BusyBox is used and "ls" output ;; coloring is enabled by default. So we try to disable it when ;; possible.