summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 9ae73d46..43a7f1f7 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1626,7 +1626,7 @@ sub register_rpms {
$start <= $id and @requested{($start .. $id)} = (1) x ($id-$start+1);
#- distribute local packages to distant nodes directly in cache of each machine.
- $urpm->{parallel_handler} and $urpm->{parallel_handler}->parallel_register_rpms(@_);
+ @files && $urpm->{parallel_handler} and $urpm->{parallel_handler}->parallel_register_rpms(@_);
%requested;
}