1
0
mirror of synced 2026-05-05 15:53:45 +00:00

Fix error "Can't exec "mkdir -p": No such file or directory at lib/Xen/Tools/Log.pm"

This commit is contained in:
Axel Beckert
2010-07-16 17:42:31 +02:00
parent 806f2d0b23
commit 74ec5d698a

View File

@@ -149,7 +149,7 @@ sub _init_fh {
my $logFile =
File::Spec->catfile( $self->logpath(), $self->hostname() . '.log' );
system( 'mkdir -p', $self->logpath() ) unless -d $self->logpath();
system( qw(mkdir -p), $self->logpath() ) unless -d $self->logpath();
carp "Couldn't create log directory: $!" unless $? == 0;