summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-24 13:24:29 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-24 13:24:29 +0000
commit08cdbf90d931c14f2ce081d3b603b876abf4727a (patch)
treef6ef6379460bf7567fb61e1ed566839d4252ca2a /urpm/main_loop.pm
parent391989e6403bd8b3e342f9b5937d6c73532aafdc (diff)
downloadurpmi-08cdbf90d931c14f2ce081d3b603b876abf4727a.tar
urpmi-08cdbf90d931c14f2ce081d3b603b876abf4727a.tar.gz
urpmi-08cdbf90d931c14f2ce081d3b603b876abf4727a.tar.bz2
urpmi-08cdbf90d931c14f2ce081d3b603b876abf4727a.tar.xz
urpmi-08cdbf90d931c14f2ce081d3b603b876abf4727a.zip
(run) use urpmi log API for the transaction failed message instead of
printing it on the console so that installer can save each error with each transaction log instead of only having a summary at end
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r--urpm/main_loop.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index f62da98f..010eeb0b 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -266,7 +266,7 @@ foreach my $set (@{$state->{transaction} || []}) {
goto install;
}
}
- print $msg;
+ $urpm->{log}($msg);
++$nok;
push @errors, @l;