summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ka_run.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 14:12:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 14:12:45 +0000
commit9ac05e0b3ffa3efbcba290ae9fe1eb2f12a1674e (patch)
tree288d6830c4759e9eafa63bce622824303d0f1cb4 /urpm/parallel_ka_run.pm
parenta7eccc3fde98557b9f8975a03a40712e0a40fa74 (diff)
downloadurpmi-9ac05e0b3ffa3efbcba290ae9fe1eb2f12a1674e.tar
urpmi-9ac05e0b3ffa3efbcba290ae9fe1eb2f12a1674e.tar.gz
urpmi-9ac05e0b3ffa3efbcba290ae9fe1eb2f12a1674e.tar.bz2
urpmi-9ac05e0b3ffa3efbcba290ae9fe1eb2f12a1674e.tar.xz
urpmi-9ac05e0b3ffa3efbcba290ae9fe1eb2f12a1674e.zip
urpm_popen: fix exit condition
Diffstat (limited to 'urpm/parallel_ka_run.pm')
-rw-r--r--urpm/parallel_ka_run.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index a51afe58..c6dfd465 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -53,7 +53,7 @@ sub urpm_popen {
my ($node, $s_) = _parse_rshp_output($s) or next;
$urpm->{debug}("parallel_ka_run: $node: received: $s_") if $urpm->{debug};
- $do->($node, $s_) or last;
+ $do->($node, $s_) and last;
}
close $fh or $urpm->{fatal}(1, N("rshp failed, maybe a node is unreacheable"));
}