From: justdave%syndicomm.com <> Date: Fri, 13 Dec 2002 19:01:03 +0000 (+0000) Subject: Bug 183188: collectstats.pl no longer makes data/mining world-readable X-Git-Tag: bugzilla-2.17.2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eedc2c21ad4603a8611f917df4d62ecd3209578f;p=thirdparty%2Fbugzilla.git Bug 183188: collectstats.pl no longer makes data/mining world-readable patch by Christian Franke r= bbaetz, justave a= justdave --- diff --git a/collectstats.pl b/collectstats.pl index 61e7cf2044..5af4f45c30 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -73,7 +73,7 @@ if (-s "data/duplicates.tmp") { sub check_data_dir { my $dir = shift; - if (! -d) { + if (! -d $dir) { mkdir $dir, 0777; chmod 0777, $dir; }