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.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 785e53edf..59c89903f 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -312,7 +312,9 @@ sub write_conf() {
}
my @l;
push @l, 'scsi_hostadapter' if !is_empty_array_ref($conf{scsi_hostadapter}{probeall});
- push @l, $_ if detect_devices::matching_driver('^$_$') foreach qw(bttv cx8800 saa7134);
+ foreach (qw(bttv cx8800 saa7134)) {
+ push @l, $_ if detect_devices::matching_driver('^$_$');
+ }
my @l_26 = @l;
if (my ($agp) = probe_category('various/agpgart')) {
push @l_26, $agp->{driver};