aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--lib/Iurt/Process.pm4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index e42261c..5f23684 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- iurt: always use urpmi --urpmi-root
+- iurt: add arch to all log files
0.7.14
- ulri: add architecture in botcmd filename
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 {