From ad1bfcf34dece06d9f3595dd0959c5d8e9e5c6ef Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 15 Feb 2004 22:26:25 +0000 Subject: fix one more crash on array ref dereferencing --- rpmdrake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.1