summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ssh.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/parallel_ssh.pm')
-rw-r--r--urpm/parallel_ssh.pm6
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;
}