From eb8b0c76376bea97b3c9d7b69758b437efac4581 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Aug 2001 16:23:25 +0000 Subject: (raidAutoStart): fix for when kmod is there --- perl-install/detect_devices.pm | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- cgit v1.2.1