summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ssh.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 12:05:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 12:05:59 +0000
commit19fb5fabfa650f4ec9645b8112b81a66ea456d10 (patch)
tree9257023b1e021688e6bbe4777b498df8c274c1eb /urpm/parallel_ssh.pm
parentb2d42984a48190b7eeba990096a302d2ce8f263d (diff)
downloadurpmi-19fb5fabfa650f4ec9645b8112b81a66ea456d10.tar
urpmi-19fb5fabfa650f4ec9645b8112b81a66ea456d10.tar.gz
urpmi-19fb5fabfa650f4ec9645b8112b81a66ea456d10.tar.bz2
urpmi-19fb5fabfa650f4ec9645b8112b81a66ea456d10.tar.xz
urpmi-19fb5fabfa650f4ec9645b8112b81a66ea456d10.zip
merge diffs with parallel_ka_run
Diffstat (limited to 'urpm/parallel_ssh.pm')
-rw-r--r--urpm/parallel_ssh.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index 19ea8b2d..cfffe0c2 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -90,6 +90,7 @@ sub parallel_install {
my %bad_nodes;
$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;
$s =~ /Installation failed/ and $bad_nodes{$node} = '';
$s =~ /Installation is possible/ and delete $bad_nodes{$node}, return 1;