From: Michael Albinus Date: Tue, 14 May 2024 08:49:52 +0000 (+0200) Subject: Trace Tramp user error X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f8d7a67460d6b58b2074564d44706976510d322;p=emacs.git Trace Tramp user error * lisp/net/tramp-androidsu.el (tramp-androidsu-maybe-open-connection): Use `tramp-user-error' for the traces. (cherry picked from commit dd13ab0756bc28a02d7685d6ae4ee442a23a5b84) --- diff --git a/lisp/net/tramp-androidsu.el b/lisp/net/tramp-androidsu.el index afe1957f09a..ee0241812ee 100644 --- a/lisp/net/tramp-androidsu.el +++ b/lisp/net/tramp-androidsu.el @@ -156,7 +156,8 @@ multibyte mode and waits for the shell prompt to appear." su-binary (shell-quote-argument (or (executable-find "su") - (user-error + (tramp-user-error + vec "No su binary is available in any of `exec-path'"))) command (format "PATH=%s exec %s - %s || exit" path su-binary user))