From 11c9c9f6e0db616371cd94ea0dfb01cecc0fa511 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 23 May 2012 18:27:55 +0000 Subject: (detect_during_install) simplify --- perl-install/raid.pm | 4 +--- 1 file changed, 1 insertion(+), 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!") -- cgit v1.2.1