From 28a5c7354505dd2e77bf929d83e5b230c701d58e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 21 Jan 2004 11:26:09 +0000 Subject: don't pass empty options, new insmod doesn't like it --- perl-install/modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/modules.pm') diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 09dc9fcc4..f67e0e098 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -98,7 +98,7 @@ sub load_category { ); grep { $o_wait_message->($_->{description}, $_->{driver}) if $o_wait_message; - eval { load([ $_->{driver}, $_->{options} ]) }; + eval { load([ $_->{driver}, if_($_->{options}, $_->{options}) ]) }; $_->{error} = $@; $_->{try} = 1 if member($_->{driver}, 'hptraid', 'ohci1394'); #- don't warn when this fails -- cgit v1.2.1