summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-04 22:43:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-04 22:43:47 +0000
commit923889728b1fbc379cd598191c0548690824b146 (patch)
treed52c5e1abb1206d0500194fda328458a2ab7236c /perl-install/modules.pm
parent7ce14e0f9d8541e16f3e4f88ea6d9b77c3bd19c7 (diff)
downloaddrakx-923889728b1fbc379cd598191c0548690824b146.tar
drakx-923889728b1fbc379cd598191c0548690824b146.tar.gz
drakx-923889728b1fbc379cd598191c0548690824b146.tar.bz2
drakx-923889728b1fbc379cd598191c0548690824b146.tar.xz
drakx-923889728b1fbc379cd598191c0548690824b146.zip
no_comment
Diffstat (limited to 'perl-install/modules.pm')
-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 5af4358dd..16058a0b1 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -373,7 +373,7 @@ sub remove_alias($) {
sub when_load {
my ($name, $type, @options) = @_;
- add_alias('scsi_hostadapter', $name), load('sd_mod') if $type =~ /scsi/ || $type eq $type_aliases{scsi};
+ add_alias('scsi_hostadapter', $name), eval { load('sd_mod') } if $type =~ /scsi/ || $type eq $type_aliases{scsi};
$conf{$name}{options} = join " ", @options if @options;
}