summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-11 19:08:57 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-11 19:08:57 +0000
commit48cd3dc8513b68c2b95d051b0112e302c878fe00 (patch)
treed0d9dd53f410232420d7c9034f8f9194fd650aff /perl-install/install
parentcf79f738161797551380b9a1bac4a4197594a651 (diff)
downloaddrakx-48cd3dc8513b68c2b95d051b0112e302c878fe00.tar
drakx-48cd3dc8513b68c2b95d051b0112e302c878fe00.tar.gz
drakx-48cd3dc8513b68c2b95d051b0112e302c878fe00.tar.bz2
drakx-48cd3dc8513b68c2b95d051b0112e302c878fe00.tar.xz
drakx-48cd3dc8513b68c2b95d051b0112e302c878fe00.zip
(empty_packages::fatal) log the error message too
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 7f6c8a729..dc7ecf14a 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -373,7 +373,7 @@ sub empty_packages {
$packages->{log} = \&log::l;
$packages->{info} = \&log::l;
$packages->{fatal} = sub {
- log::l("urpmi error: $_[0]");
+ log::l("urpmi error: $_[1] ($_[0])");
$::o->ask_warn(undef, N("A fatal error occurred: %s.", "$_[1] ($_[0])"));
};
$packages->{error} = sub {