aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Process.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-12-13 16:50:58 +0000
committerPascal Terjan <pterjan@mageia.org>2020-12-13 16:51:24 +0000
commit84d5e1bedf1c3a3a55f98e9a6ac78328994ae765 (patch)
treeee64f51eb29449cad74a897e0f79022842fe7839 /lib/Iurt/Process.pm
parent21a68c741c69970c8c613e941823c6480e689754 (diff)
downloadiurt-84d5e1bedf1c3a3a55f98e9a6ac78328994ae765.tar
iurt-84d5e1bedf1c3a3a55f98e9a6ac78328994ae765.tar.gz
iurt-84d5e1bedf1c3a3a55f98e9a6ac78328994ae765.tar.bz2
iurt-84d5e1bedf1c3a3a55f98e9a6ac78328994ae765.tar.xz
iurt-84d5e1bedf1c3a3a55f98e9a6ac78328994ae765.zip
Add arch to all log files
Diffstat (limited to 'lib/Iurt/Process.pm')
-rw-r--r--lib/Iurt/Process.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index 2d1c060..ea90a62 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -243,12 +243,12 @@ sub perform_command {
my $retry = $opt{retry} || 1;
my $call_ret = 1;
my ($err, $try);
- my $logfile = "$opt{log}/$opt{logname}.$run->{run}.log";
+ my $logfile = "$opt{log}/$opt{logname}.$run->{my_arch}.$run->{run}.log";
my $max_retry = max($config->{max_command_retry}, $retry);
while ($retry) {
$try++;
- $logfile = "$opt{log}/$opt{logname}-$try.$run->{run}.log" if $opt{retry} > 1;
+ $logfile = "$opt{log}/$opt{logname}-$try.$run->{my_arch}.$run->{run}.log" if $opt{retry} > 1;
my $pid = $opt{log} ? fork_to_monitor($run, $config, $logfile, %opt) : 0;
eval {