diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:27:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:27:55 +0000 |
commit | 11c9c9f6e0db616371cd94ea0dfb01cecc0fa511 (patch) | |
tree | acc0293ef149f1cb0bfc9ff73e311a6953bea1d6 | |
parent | e638f02fbac809b552a00438a3410446069c3f90 (diff) | |
download | drakx-11c9c9f6e0db616371cd94ea0dfb01cecc0fa511.tar drakx-11c9c9f6e0db616371cd94ea0dfb01cecc0fa511.tar.gz drakx-11c9c9f6e0db616371cd94ea0dfb01cecc0fa511.tar.bz2 drakx-11c9c9f6e0db616371cd94ea0dfb01cecc0fa511.tar.xz drakx-11c9c9f6e0db616371cd94ea0dfb01cecc0fa511.zip |
(detect_during_install) simplify
-rw-r--r-- | perl-install/raid.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index 8ffc0f4e3..e65ee0676 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -187,9 +187,7 @@ sub free_mds { sub detect_during_install { my (@parts) = @_; - foreach (allmodules()) { - eval { modules::load($_) }; - } + eval { modules::load($_) } foreach allmodules(); # udev may have started raids but failed due to not yet loaded modules and # they remains inactive ("md: personality for level 1 is not loaded!") |