From: justdave%syndicomm.com <> Date: Fri, 13 Dec 2002 19:02:26 +0000 (+0000) Subject: Bug 183188: collectstats.pl no longer makes data/mining world-readable X-Git-Tag: bugzilla-2.16.2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6be463bfd4771dc86d342b7061d72652349da94;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 4e69ab9b5f..2a29bb9f5c 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -57,7 +57,7 @@ foreach (@myproducts) { sub check_data_dir { my $dir = shift; - if (! -d) { + if (! -d $dir) { mkdir $dir, 0777; chmod 0777, $dir; }