Fix password prompt in Tramp
* lisp/net/tramp.el (tramp-password-prompt-regexp): Allow alternative trailing colons. (Bug#61168)
This commit is contained in:
parent
207a0d9408
commit
3f069bd796
1 changed files with 2 additions and 2 deletions
|
@ -642,7 +642,7 @@ This regexp must match both `tramp-initial-end-of-output' and
|
|||
(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.
|
||||
|
||||
|
@ -652,7 +652,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
|
||||
|
|
Loading…
Add table
Reference in a new issue