summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ka_run.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 18:32:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 18:32:35 +0000
commit2e5d71fb66a530534c07ffe138a525280940e050 (patch)
tree0c6b2c792311e5c948588d2e3d9e69f6d9b97956 /urpm/parallel_ka_run.pm
parentbb8676359506223e1510e845685957e9a0754cde (diff)
downloadurpmi-2e5d71fb66a530534c07ffe138a525280940e050.tar
urpmi-2e5d71fb66a530534c07ffe138a525280940e050.tar.gz
urpmi-2e5d71fb66a530534c07ffe138a525280940e050.tar.bz2
urpmi-2e5d71fb66a530534c07ffe138a525280940e050.tar.xz
urpmi-2e5d71fb66a530534c07ffe138a525280940e050.zip
cleanup
Diffstat (limited to 'urpm/parallel_ka_run.pm')
-rw-r--r--urpm/parallel_ka_run.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index 3a0c79f5..e21d52b3 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -39,7 +39,6 @@ sub parallel_register_rpms {
sub parallel_find_remove {
my ($parallel, $urpm, $state, $l, %options) = @_;
my ($test, $node, %bad_nodes, %base_to_remove, %notfound);
- local $_;
#- keep in mind if the previous selection is still active, it avoid
#- to re-start urpme --test on each node.
@@ -57,6 +56,7 @@ sub parallel_find_remove {
#- now try an iteration of urpmq.
$urpm->{log}("parallel_ka_run: $rshp_command -v $parallel->{options} -- urpme --no-locales --auto $test" . (join ' ', map { "'$_'" } @$l));
open my $fh, "$rshp_command -v $parallel->{options} -- urpme --no-locales --auto $test" . join(' ', map { "'$_'" } @$l) . " 2>&1 |";
+ local $_;
while (<$fh>) {
chomp;
($node, $_) = _parse_rshp_output($_) or next;