diff options
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/Filesystem.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm index 763fd85bf..fcc159008 100644 --- a/Bugzilla/Install/Filesystem.pm +++ b/Bugzilla/Install/Filesystem.pm @@ -335,10 +335,10 @@ sub update_filesystem { foreach my $dir (sort keys %dirs) { unless (-d $dir) { print "Creating $dir directory...\n"; - mkdir $dir || die $!; + mkdir $dir or die "mkdir $dir failed: $!"; # For some reason, passing in the permissions to "mkdir" # doesn't work right, but doing a "chmod" does. - chmod $dirs{$dir}, $dir || die $!; + chmod $dirs{$dir}, $dir or warn "Cannot chmod $dir: $!"; } } |