From dac6343ddf2df8e1cb9039c8c1c13fced598cc08 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 17 Aug 2009 13:51:03 +0000 Subject: fix display of installation errors --- urpm/main_loop.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.1