summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-20 16:23:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-20 16:23:25 +0000
commiteb8b0c76376bea97b3c9d7b69758b437efac4581 (patch)
tree9a75257ba757a6a03831d4d90bdd8bbdbf0c021b
parent4cbe45c50488350f2d88807f5e9e04e3bf39dcd2 (diff)
downloaddrakx-eb8b0c76376bea97b3c9d7b69758b437efac4581.tar
drakx-eb8b0c76376bea97b3c9d7b69758b437efac4581.tar.gz
drakx-eb8b0c76376bea97b3c9d7b69758b437efac4581.tar.bz2
drakx-eb8b0c76376bea97b3c9d7b69758b437efac4581.tar.xz
drakx-eb8b0c76376bea97b3c9d7b69758b437efac4581.zip
(raidAutoStart): fix for when kmod is there
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 6fcbc2aad..46626e06c 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -407,6 +407,8 @@ sub raidAutoStart {
if (my @needed_perso = map { if_(/^kmod: failed.*md-personality-(.)/, $personalities{$1}) } syslog()) {
log::l("RAID: autostart needs personality from $_"), eval { modules::load($_) } foreach @needed_perso;
return raidAutoStartIoctl();
+ } else {
+ 1;
}
}