bug 158498 - defparams.pl prints an error message in a check function instead of returning it. Patch by gerv; 2xr=zeroj.

This commit is contained in:
gerv%gerv.net 2002-07-24 06:56:11 +00:00
Родитель 5253ed68d1
Коммит 7aac417e59
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}