aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dispass.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/dispass.el b/dispass.el
index 40f4604..bed46ef 100644
--- a/dispass.el
+++ b/dispass.el
@@ -132,7 +132,7 @@
an eye out for LABEL."
`(lambda (proc string)
"Process STRING coming from PROC."
- (cond ((string-match "^\\(Password\\|Again\\): ?$" string)
+ (cond ((string-match "^\\(Password[^:]*\\|Again\\): ?$" string)
(process-send-string proc
(concat (read-passwd string nil) "\n")))