diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:25:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:25:21 +0000 |
commit | 27faad223f46b39eb2f92a47fcf6e32c1af326ff (patch) | |
tree | bd122860ec9cd25620558bfaf5a836707f957e6b /perl-install/raid.pm | |
parent | b1b75234904dba68ab55c4c54119189afe8b8fe9 (diff) | |
download | drakx-27faad223f46b39eb2f92a47fcf6e32c1af326ff.tar drakx-27faad223f46b39eb2f92a47fcf6e32c1af326ff.tar.gz drakx-27faad223f46b39eb2f92a47fcf6e32c1af326ff.tar.bz2 drakx-27faad223f46b39eb2f92a47fcf6e32c1af326ff.tar.xz drakx-27faad223f46b39eb2f92a47fcf6e32c1af326ff.zip |
(allmodules) there's no reason to have a reference here
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 4 |
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($_) }; } |