summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-08-17 13:51:03 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-08-17 13:51:03 +0000
commitdac6343ddf2df8e1cb9039c8c1c13fced598cc08 (patch)
tree93040af7c06b97d59ca65248da9688eff3b99b9a /urpm/main_loop.pm
parent4e101700370b9c752bec779e42514d6198e7a0a1 (diff)
downloadurpmi-dac6343ddf2df8e1cb9039c8c1c13fced598cc08.tar
urpmi-dac6343ddf2df8e1cb9039c8c1c13fced598cc08.tar.gz
urpmi-dac6343ddf2df8e1cb9039c8c1c13fced598cc08.tar.bz2
urpmi-dac6343ddf2df8e1cb9039c8c1c13fced598cc08.tar.xz
urpmi-dac6343ddf2df8e1cb9039c8c1c13fced598cc08.zip
fix display of installation errors
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 32f08dd5..3176f02a 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -293,7 +293,7 @@ if ($nok) {
$urpm->{print}(join("\n", @formatted_errors));
}
if (@errors) {
- $urpm->{print}(N("Installation failed:")), map { "\t$_\n" } @errors;
+ $urpm->{print}(N("Installation failed:").join("\n", map { "\t$_" } @errors));
}
$exit_code ||= $ok ? 11 : 12;
} else {