diff options
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index b922bdd6d..90f277791 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -105,7 +105,8 @@ sub handle_dmraid { devices::make($_->{device}) foreach @$drives; - eval { require fs::dmraid; 1 } or return; + require fs::dmraid; + fs::dmraid::init() or log::l("dmraid::init failed"), return; my @vgs = fs::dmraid::vgs(); log::l(sprintf('dmraid: ' . join(' ', map { "$_->{device} [" . join(' ', @{$_->{disks}}) . "]" } @vgs))); |