From f3b996d4f7391eff80275af54671651f9de7476d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 10 Jul 2008 16:11:26 +0000 Subject: fix getting install errors (since value has been chomp'ed in urpm_popen) --- urpm/parallel.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm/parallel.pm') diff --git a/urpm/parallel.pm b/urpm/parallel.pm index 28e1f5f6..0654d346 100644 --- a/urpm/parallel.pm +++ b/urpm/parallel.pm @@ -288,7 +288,7 @@ sub parallel_install { $parallel->urpm_popen($urpm, 'urpmi', "--pre-clean --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line}", sub { my ($node, $s) = @_; $s =~ /^\s*$/ and return; - $bad_nodes{$node} .= $s; + $bad_nodes{$node} .= "$s\n"; $s =~ /Installation failed/ and $bad_nodes{$node} = ''; $s =~ /Installation is possible/ and push @good_nodes, $node; undef; -- cgit v1.2.1