aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-15 22:26:25 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-15 22:26:25 +0000
commitad1bfcf34dece06d9f3595dd0959c5d8e9e5c6ef (patch)
tree0b81b05a49683736badb22cfb6b16e9b9f2f0579
parent425e2e355bff9fc15a05b94f65efaa9a40caaf41 (diff)
downloadrpmdrake-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-xrpmdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 11f548ac..19b020f0 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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) {