summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 3e774e738..76ad7509b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -976,8 +976,9 @@ sub urpmi_add_all_media {
local $ENV{URPMI_ADDMEDIA_REASON} = $reason;
my $log_file = '/root/drakx/updates.log';
+ my $val = run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options);
undef $wait;
- run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options);
+ $val;
}
sub autologin {