Skip to content

Commit

Permalink
rmshit: fixed nasty bug - mkpath() and make_path() is NOT the same thing
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Sep 6, 2010
1 parent 1abe0ce commit 705e96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmshit
Expand Up @@ -82,7 +82,7 @@ my $log = "$logdir/rmshit/rmshit.log";
my $pidfile = '/tmp/rmshit.pid';

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

Expand Down

0 comments on commit 705e96b

Please sign in to comment.