summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-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 edcb64f77..768005993 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -873,7 +873,8 @@ sub urpmi_add_all_media {
log::l("URPMI_ADDMEDIA_REASON $reason");
local $ENV{URPMI_ADDMEDIA_REASON} = $reason;
- run_program::rooted($::prefix, $binary, @options);
+ my $log_file = '/root/drakx/updates.log';
+ run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options);
}
sub autologin {