aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 0dce02de8ba..ef00286b341 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2268,7 +2268,7 @@ by doing (clear-string STRING)."
2268 (second (read-passwd "Confirm password: " nil default))) 2268 (second (read-passwd "Confirm password: " nil default)))
2269 (if (equal first second) 2269 (if (equal first second)
2270 (progn 2270 (progn
2271 (and (arrayp second) (clear-string second)) 2271 (and (arrayp second) (not (eq first second)) (clear-string second))
2272 (setq success first)) 2272 (setq success first))
2273 (and (arrayp first) (clear-string first)) 2273 (and (arrayp first) (clear-string first))
2274 (and (arrayp second) (clear-string second)) 2274 (and (arrayp second) (clear-string second))