From 9fc4a3cddded7035dba1e71f157c0f1bbae0dc23 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 26 Aug 2007 20:41:31 +0200 Subject: [PATCH] Syntax error fix --- cgi/Git/RepoCGI.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cgi/Git/RepoCGI.pm b/cgi/Git/RepoCGI.pm index 9f768ca..cd6dade 100644 --- a/cgi/Git/RepoCGI.pm +++ b/cgi/Git/RepoCGI.pm @@ -463,8 +463,9 @@ sub cgi_fill { $self->{crypt} = scrypt($pwd); } - if ($cgi->param('pwd2') and $pwd ne $cgi->param('pwd2')) - or $repo->err("Our high-paid security consultants have determined that the admin passwords you have entered do not match each other."); + if ($cgi->param('pwd2') and $pwd ne $cgi->param('pwd2')) { + $repo->err("Our high-paid security consultants have determined that the admin passwords you have entered do not match each other."); + } $self->{cpwd} = $cgi->param('cpwd'); -- 2.11.4.GIT