From: justdave%syndicomm.com <> Date: Fri, 13 Dec 2002 19:03:14 +0000 (+0000) Subject: Bug 183188: collectstats.pl no longer makes data/mining world-readable X-Git-Tag: bugzilla-2.14.5~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7f36887f4b7943c525922df01477b039cb37c0b;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; }