summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 19:39:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 19:39:25 +0000
commit63ec742f90d027773b6e094890543e4e469c53d1 (patch)
treed7af46c5db1d8723744311348af0dda5e07e22cb /urpm
parent38455df4720675f5d9f8e5eee9efe541c46dac10 (diff)
downloadurpmi-63ec742f90d027773b6e094890543e4e469c53d1.tar
urpmi-63ec742f90d027773b6e094890543e4e469c53d1.tar.gz
urpmi-63ec742f90d027773b6e094890543e4e469c53d1.tar.bz2
urpmi-63ec742f90d027773b6e094890543e4e469c53d1.tar.xz
urpmi-63ec742f90d027773b6e094890543e4e469c53d1.zip
cleanup
Diffstat (limited to 'urpm')
-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;
}