Trace Tramp user error
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 14 May 2024 08:49:52 +0000 (10:49 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 14 May 2024 08:49:52 +0000 (10:49 +0200)
* lisp/net/tramp-androidsu.el (tramp-androidsu-maybe-open-connection):
Use `tramp-user-error' for the traces.

lisp/net/tramp-androidsu.el

index 0910d274cc4e656edeed88568f059bd50f81973c..361e45b9de5e249e9cbbb16c054e1c360a07653d 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))