summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-21 11:26:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-21 11:26:09 +0000
commit28a5c7354505dd2e77bf929d83e5b230c701d58e (patch)
treed6c9fabd0ad9abe9314b17a7a382b208eb981860 /perl-install
parentcdee86d797cddb28a4d7c69ace4da71c4a7cfa30 (diff)
downloaddrakx-backup-do-not-use-28a5c7354505dd2e77bf929d83e5b230c701d58e.tar
drakx-backup-do-not-use-28a5c7354505dd2e77bf929d83e5b230c701d58e.tar.gz
drakx-backup-do-not-use-28a5c7354505dd2e77bf929d83e5b230c701d58e.tar.bz2
drakx-backup-do-not-use-28a5c7354505dd2e77bf929d83e5b230c701d58e.tar.xz
drakx-backup-do-not-use-28a5c7354505dd2e77bf929d83e5b230c701d58e.zip
don't pass empty options, new insmod doesn't like it
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
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