summaryrefslogtreecommitdiffstats
path: root/urpm/parallel.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 16:11:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 16:11:26 +0000
commitf3b996d4f7391eff80275af54671651f9de7476d (patch)
treeadb9b1e208d7870da01b679e3eb9b95a6c575b20 /urpm/parallel.pm
parent8820c836051714041d6668d0de48772ee8067742 (diff)
downloadurpmi-f3b996d4f7391eff80275af54671651f9de7476d.tar
urpmi-f3b996d4f7391eff80275af54671651f9de7476d.tar.gz
urpmi-f3b996d4f7391eff80275af54671651f9de7476d.tar.bz2
urpmi-f3b996d4f7391eff80275af54671651f9de7476d.tar.xz
urpmi-f3b996d4f7391eff80275af54671651f9de7476d.zip
fix getting install errors (since value has been chomp'ed in urpm_popen)
Diffstat (limited to 'urpm/parallel.pm')
-rw-r--r--urpm/parallel.pm2
1 files changed, 1 insertions, 1 deletions
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;