summaryrefslogtreecommitdiff
path: root/lisp/net/tramp.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2023-01-30 11:43:04 +0100
committerMichael Albinus <michael.albinus@gmx.de>2023-01-30 11:43:04 +0100
commit99e40959f4036debe099f144ed2664a38e23563d (patch)
tree1236df0dff4d2fb14fd475f547a536b1547e9980 /lisp/net/tramp.el
parent8360e12f0ea3a3ccf0305adab3c7ea7e38af36c1 (diff)
downloademacs-99e40959f4036debe099f144ed2664a38e23563d.tar.gz
Fix password prompt in Tramp (do not merge)
* lisp/net/tramp.el (tramp-password-prompt-regexp): Allow alternative trailing colons. (Bug#61168)
Diffstat (limited to 'lisp/net/tramp.el')
-rw-r--r--lisp/net/tramp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 1916d50af03..eaddc36b54a 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -643,7 +643,7 @@ This regexp must match both `tramp-initial-end-of-output' and
(tramp-compat-rx
bol (* nonl)
(group (regexp (regexp-opt password-word-equivalents)))
- (* nonl) ":" (? "\^@") (* blank))
+ (* nonl) (any "::៖") (? "\^@") (* blank))
"Regexp matching password-like prompts.
The regexp should match at end of buffer.
@@ -653,7 +653,7 @@ usually more convenient to add new passphrases to that variable
instead of altering this variable.
The `sudo' program appears to insert a `^@' character into the prompt."
- :version "24.4"
+ :version "29.1"
:type 'regexp)
(defcustom tramp-wrong-passwd-regexp