From: gerv%gerv.net <> Date: Wed, 24 Jul 2002 13:56:11 +0000 (+0000) Subject: bug 158498 - defparams.pl prints an error message in a check function instead of... X-Git-Tag: bugzilla-2.17.1~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d35124c66e1875a60b6d02d83d225a68a09002;p=thirdparty%2Fbugzilla.git bug 158498 - defparams.pl prints an error message in a check function instead of returning it. Patch by gerv; 2xr=zeroj. --- diff --git a/defparams.pl b/defparams.pl index 5ce6ea2035..4530a73c28 100644 --- a/defparams.pl +++ b/defparams.pl @@ -446,7 +446,7 @@ sub check_webdotbase { if(-e "data/webdot/.htaccess") { open HTACCESS, "data/webdot/.htaccess"; if(! grep(/png/,)) { - print "Dependency graph images are not accessible.\nDelete data/webdot/.htaccess and re-run checksetup.pl to rectify.\n"; + return "Dependency graph images are not accessible.\nDelete data/webdot/.htaccess and re-run checksetup.pl to rectify.\n"; } close HTACCESS; }