aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2002-12-13 19:01:03 +0000
committerjustdave%syndicomm.com <>2002-12-13 19:01:03 +0000
commiteedc2c21ad4603a8611f917df4d62ecd3209578f (patch)
tree890794a6b8702aff0ce36c670d759d6cd459e6a4
parentBug 184256 Canedit group_control_map entry does not prevent making attachments (diff)
downloadbugzilla-eedc2c21ad4603a8611f917df4d62ecd3209578f.tar.gz
bugzilla-eedc2c21ad4603a8611f917df4d62ecd3209578f.tar.bz2
bugzilla-eedc2c21ad4603a8611f917df4d62ecd3209578f.zip
Bug 183188: collectstats.pl no longer makes data/mining world-readable
patch by Christian Franke <Franke@computer.org> r= bbaetz, justave a= justdave
-rwxr-xr-xcollectstats.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectstats.pl b/collectstats.pl
index 61e7cf204..5af4f45c3 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;
}