diff options
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 634802ff..a1627baf 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -138,14 +138,12 @@ sub extract_header { } } -my %options; - # because rpm blocks some signals when rpm DB is opened, we don't keep open around: sub open_rpm_db { my ($o_force) = @_; my $host; log::explanations("opening the RPM database"); - if ($options{parallel} && ((undef, $host) = @{$options{parallel}})) { + if ($::rpmdrake_options{parallel} && ((undef, $host) = @{$::rpmdrake_options{parallel}})) { my $done if 0; my $dblocation = "/var/cache/urpmi/distantdb/$host"; if (!$done || $o_force) { |