diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-10 11:57:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-10 11:57:57 +0000 |
commit | d0e9b1aa125a83f9de08d4554895eaed85386970 (patch) | |
tree | 587d87bf989b840a25d5baf324eef8b90b8a4b33 /urpm.pm | |
parent | 31df3fb471b4c694fe4f0eb33b25dc7376a431b7 (diff) | |
download | urpmi-d0e9b1aa125a83f9de08d4554895eaed85386970.tar urpmi-d0e9b1aa125a83f9de08d4554895eaed85386970.tar.gz urpmi-d0e9b1aa125a83f9de08d4554895eaed85386970.tar.bz2 urpmi-d0e9b1aa125a83f9de08d4554895eaed85386970.tar.xz urpmi-d0e9b1aa125a83f9de08d4554895eaed85386970.zip |
cleanup
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -308,7 +308,9 @@ sub register_rpms { defined $id && $start <= $id and @requested{($start .. $id)} = (1) x ($id-$start+1); #- distribute local packages to distant nodes directly in cache of each machine. - @files && $urpm->{parallel_handler} and $urpm->{parallel_handler}->parallel_register_rpms($urpm, @files); + if (@files && $urpm->{parallel_handler}) { + $urpm->{parallel_handler}->parallel_register_rpms($urpm, @files); + } %requested; } |