]> git.eshelyaron.com Git - emacs.git/commitdiff
Trace Tramp user error
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 14 May 2024 08:49:52 +0000 (10:49 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 16 May 2024 08:19:58 +0000 (10:19 +0200)
* lisp/net/tramp-androidsu.el (tramp-androidsu-maybe-open-connection):
Use `tramp-user-error' for the traces.

(cherry picked from commit dd13ab0756bc28a02d7685d6ae4ee442a23a5b84)

lisp/net/tramp-androidsu.el

index afe1957f09a31ce142d16f9e95c4d0d406951fb2..ee0241812eeacdd4f72b89af880a09942fddc93f 100644 (file)
@@ -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))