Update install.pl

This commit is contained in:
2020-07-12 16:57:16 +01:00
committed by GitHub
parent bc435cb833
commit afdf8bdc4a

View File

@@ -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