diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 19:39:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 19:39:25 +0000 |
commit | 63ec742f90d027773b6e094890543e4e469c53d1 (patch) | |
tree | d7af46c5db1d8723744311348af0dda5e07e22cb /urpm/parallel_ssh.pm | |
parent | 38455df4720675f5d9f8e5eee9efe541c46dac10 (diff) | |
download | urpmi-63ec742f90d027773b6e094890543e4e469c53d1.tar urpmi-63ec742f90d027773b6e094890543e4e469c53d1.tar.gz urpmi-63ec742f90d027773b6e094890543e4e469c53d1.tar.bz2 urpmi-63ec742f90d027773b6e094890543e4e469c53d1.tar.xz urpmi-63ec742f90d027773b6e094890543e4e469c53d1.zip |
cleanup
Diffstat (limited to 'urpm/parallel_ssh.pm')
-rw-r--r-- | urpm/parallel_ssh.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm index 453a4cfe..9b64afe8 100644 --- a/urpm/parallel_ssh.pm +++ b/urpm/parallel_ssh.pm @@ -53,9 +53,9 @@ sub parallel_find_remove { $urpm->{log}("parallel_ssh: $command"); open my $fh, "$command 2>&1 |" or $urpm->{fatal}(1, "Can't fork ssh: $!"); - local $_; - while (defined ($_ = <$fh>)) { - urpm::parallel::parse_urpme_output($urpm, $state, $node, $_, + + while (my $s = <$fh>) { + urpm::parallel::parse_urpme_output($urpm, $state, $node, $s, \%notfound, \%base_to_remove, \%bad_nodes, %options) or last; } |