Update install.pl
This commit is contained in:
@@ -19,11 +19,10 @@ if ($log_target ne 'STDOUT') {
|
|||||||
# Generate unique logfile
|
# Generate unique logfile
|
||||||
my $log_dir = "$dir/logs";
|
my $log_dir = "$dir/logs";
|
||||||
`mkdir -p $log_dir`;
|
`mkdir -p $log_dir`;
|
||||||
my $uuid = `uuidgen`;
|
my $uuid = chomp `uuidgen`;
|
||||||
chomp $uuid;
|
|
||||||
$log_path = "$log_dir/$uuid.log";
|
$log_path = "$log_dir/$uuid.log";
|
||||||
print "Logs: $log_target\n";
|
|
||||||
}
|
}
|
||||||
|
print "Logs: $log_path\n";
|
||||||
|
|
||||||
# Execute given command and log appropriately
|
# Execute given command and log appropriately
|
||||||
# @arg 0 command to run
|
# @arg 0 command to run
|
||||||
|
|||||||
Reference in New Issue
Block a user