diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 18:07:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 18:07:34 +0000 |
commit | c104c5fb1786600ea5c58ca84869eb965e9b9e2d (patch) | |
tree | 262cc11779db9afdcd82e5814c708dbe8515af91 /urpm/parallel_ssh.pm | |
parent | f79e8f662a6ae7734419a6d5e642c0645588feae (diff) | |
download | urpmi-c104c5fb1786600ea5c58ca84869eb965e9b9e2d.tar urpmi-c104c5fb1786600ea5c58ca84869eb965e9b9e2d.tar.gz urpmi-c104c5fb1786600ea5c58ca84869eb965e9b9e2d.tar.bz2 urpmi-c104c5fb1786600ea5c58ca84869eb965e9b9e2d.tar.xz urpmi-c104c5fb1786600ea5c58ca84869eb965e9b9e2d.zip |
cleanup
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 2aaea7c7..d887f4dd 100644 --- a/urpm/parallel_ssh.pm +++ b/urpm/parallel_ssh.pm @@ -45,7 +45,6 @@ sub parallel_register_rpms { sub parallel_find_remove { my ($parallel, $urpm, $state, $l, %options) = @_; my ($test, %bad_nodes, %base_to_remove, %notfound); - local $_; #- keep in mind if the previous selection is still active, it avoids #- to re-start urpme --test on each node. @@ -66,6 +65,7 @@ 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>)) { chomp; /^\s*$/ and next; |