summaryrefslogtreecommitdiffstats
path: root/perl-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
commitef5237da9764dba610fabf79b7bbee5ff974a9d5 (patch)
treed0d9dd53f410232420d7c9034f8f9194fd650aff /perl-install
parent5052c5e6d92b430c71de72d53a40bd83f9ae49be (diff)
downloaddrakx-backup-do-not-use-ef5237da9764dba610fabf79b7bbee5ff974a9d5.tar
drakx-backup-do-not-use-ef5237da9764dba610fabf79b7bbee5ff974a9d5.tar.gz
drakx-backup-do-not-use-ef5237da9764dba610fabf79b7bbee5ff974a9d5.tar.bz2
drakx-backup-do-not-use-ef5237da9764dba610fabf79b7bbee5ff974a9d5.tar.xz
drakx-backup-do-not-use-ef5237da9764dba610fabf79b7bbee5ff974a9d5.zip
(empty_packages::fatal) log the error message too
Diffstat (limited to 'perl-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 {