summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 929780374..d8da3b8aa 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -77,14 +77,14 @@ sub load_raw {
if (-f "/proc/net/packet") {
log::l("$mod already loaded");
} else {
- @$l = (@$l, $mod);
+ push @$l, $mod;
}
} elsif (cat_("/proc/filesystems") =~ /$mod/) {
log::l("$mod already loaded");
} elsif ($mod =~ /serial/) {
# hack ... must find who tries to load the module serial
} else {
- @$l = (@$l, $mod);
+ push @$l, $mod;
}
}