summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/raid.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 2c1c86e53..156504d29 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -97,7 +97,7 @@ sub updateSize {
}
sub allmodules {
- [ 'raid0', 'raid1', 'raid10', 'raid456' ];
+ ('raid0', 'raid1', 'raid10', 'raid456');
}
sub module {
@@ -187,7 +187,7 @@ sub free_mds {
sub detect_during_install {
my (@parts) = @_;
- foreach (@{allmodules()}) {
+ foreach (allmodules()) {
eval { modules::load($_) };
}