From 062f87ce3807155ff57bf316685f9bb500726867 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 1 Mar 2009 15:01:08 -0500 Subject: Setup automator: Fix bug in password comparison. Closes: #517654 --- IkiWiki/Setup/Automator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Setup') diff --git a/IkiWiki/Setup/Automator.pm b/IkiWiki/Setup/Automator.pm index b63c8e245..7d9eca3af 100644 --- a/IkiWiki/Setup/Automator.pm +++ b/IkiWiki/Setup/Automator.pm @@ -120,7 +120,7 @@ sub import (@) { print "Confirm password: "; chomp($password2=); - last if $password2 ne $password; + last if $password2 eq $password; print "Password mismatch.\n\n"; } -- cgit v1.2.3