Skip to content

Commit

Permalink
rmshit: NOW the make_path() bug should be fixed... once for all
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Sep 6, 2010
1 parent bfaa1ef commit 280c907
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rmshit
Expand Up @@ -81,9 +81,9 @@ my $log = "$logdir/rmshit/rmshit.log";

my $pidfile = '/tmp/rmshit.pid';

if(!-d "$logdir") {
make_path("$logdir/rmshit", 1, 0777)
or croak "Cant mkpath $logdir/rmshit: $!";
if(!-d "$logdir/rmshit") {
make_path("$logdir/rmshit", 1, 0777)
or croak "Cant make_path $logdir/rmshit: $!";
}


Expand Down

0 comments on commit 280c907

Please sign in to comment.