summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-07-24 15:56:11 +0200
committergerv%gerv.net <>2002-07-24 15:56:11 +0200
commitd1d35124c66e1875a60b6d02d83d225a68a09002 (patch)
tree2cc520b9399891e53bcddd0696bdf6d8afc8bba6 /defparams.pl
parentc0296e8df4fec8f7183520840e79cdd7e4da927b (diff)
downloadbugzilla-d1d35124c66e1875a60b6d02d83d225a68a09002.tar.gz
bugzilla-d1d35124c66e1875a60b6d02d83d225a68a09002.tar.xz
bug 158498 - defparams.pl prints an error message in a check function instead of returning it. Patch by gerv; 2xr=zeroj.
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/defparams.pl b/defparams.pl
index 5ce6ea203..4530a73c2 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/,<HTACCESS>)) {
- 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;
}