diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-15 22:26:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-15 22:26:25 +0000 |
commit | ad1bfcf34dece06d9f3595dd0959c5d8e9e5c6ef (patch) | |
tree | 0b81b05a49683736badb22cfb6b16e9b9f2f0579 | |
parent | 425e2e355bff9fc15a05b94f65efaa9a40caaf41 (diff) | |
download | rpmdrake-ad1bfcf34dece06d9f3595dd0959c5d8e9e5c6ef.tar rpmdrake-ad1bfcf34dece06d9f3595dd0959c5d8e9e5c6ef.tar.gz rpmdrake-ad1bfcf34dece06d9f3595dd0959c5d8e9e5c6ef.tar.bz2 rpmdrake-ad1bfcf34dece06d9f3595dd0959c5d8e9e5c6ef.tar.xz rpmdrake-ad1bfcf34dece06d9f3595dd0959c5d8e9e5c6ef.zip |
fix one more crash on array ref dereferencing
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1100,7 +1100,8 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( $w->{rwindow}->set_sensitive(0); - if (my ($group) = @{$options{parallel}}) { + my $group; + if ($options{parallel} and ($group) = @{$options{parallel}}) { my $pkgs = join(' ', map { if_($_->flag_requested, my_fullname($_)) } @{$urpm->{depslist}}); system("urpmi -v --X --parallel $group $pkgs"); if ($? == 0) { |