summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
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 b3acc1320..6cc83ca52 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -274,7 +274,7 @@ sub when_load_category {
if ($category =~ m,disk/(ide|scsi|hardware_raid|sata|usb|firewire),) {
$conf->add_probeall('scsi_hostadapter', $name);
- eval { load('sd_mod') } if !$category eq 'disk/ide';
+ eval { load('sd_mod') } if $category ne 'disk/ide';
} elsif ($category eq 'bus/usb') {
$conf->add_probeall('usb-interface', $name);
-f '/proc/bus/usb/devices' or eval {