diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-10 14:12:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-10 14:12:45 +0000 |
commit | 9ac05e0b3ffa3efbcba290ae9fe1eb2f12a1674e (patch) | |
tree | 288d6830c4759e9eafa63bce622824303d0f1cb4 /urpm/parallel_ssh.pm | |
parent | a7eccc3fde98557b9f8975a03a40712e0a40fa74 (diff) | |
download | urpmi-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_ssh.pm')
-rw-r--r-- | urpm/parallel_ssh.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm index b2716e37..e8d99f0a 100644 --- a/urpm/parallel_ssh.pm +++ b/urpm/parallel_ssh.pm @@ -80,7 +80,7 @@ sub urpm_popen { while (my $s = <$fh>) { chomp $s; $urpm->{debug}("parallel_ssh: $node: received: $s") if $urpm->{debug}; - $do->($node, $s) or last; + $do->($node, $s) and last; } close $fh or $urpm->{fatal}(1, N("host %s does not have a good version of urpmi (%d)", $node, $? >> 8)); } |