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.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index d43c2fb8..df9895cd 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -41,11 +41,12 @@ sub parallel_register_rpms {
#- parallel find_packages_to_remove
sub parallel_find_remove {
my ($parallel, $urpm, $state, $l, %options) = @_;
- my (%bad_nodes, %base_to_remove, %notfound);
my ($test, $pkgs) = urpm::parallel::find_remove_pre($urpm, $state, %options);
$pkgs and return @$pkgs;
+ my (%bad_nodes, %base_to_remove, %notfound);
+
#- now try an iteration of urpme.
foreach my $node (keys %{$parallel->{nodes}}) {
my $command = _ssh($node) . "urpme --no-locales --auto $test" . (join ' ', map { "'$_'" } @$l);