summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ssh.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 19:03:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 19:03:51 +0000
commit1fddb0015639949f4ca69ec04464bd2ddcb520ca (patch)
treed82a9b8db0be496753ffa9552c4e94f233cc07dd /urpm/parallel_ssh.pm
parent568e51a65c52ddebe015cec9462a44f7cf5011df (diff)
downloadurpmi-1fddb0015639949f4ca69ec04464bd2ddcb520ca.tar
urpmi-1fddb0015639949f4ca69ec04464bd2ddcb520ca.tar.gz
urpmi-1fddb0015639949f4ca69ec04464bd2ddcb520ca.tar.bz2
urpmi-1fddb0015639949f4ca69ec04464bd2ddcb520ca.tar.xz
urpmi-1fddb0015639949f4ca69ec04464bd2ddcb520ca.zip
cleanup
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);