From 6f8d7a67460d6b58b2074564d44706976510d322 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 14 May 2024 10:49:52 +0200 Subject: [PATCH] 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) --- lisp/net/tramp-androidsu.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.5