summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 90f277791..0e6c02fe4 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -106,7 +106,7 @@ sub handle_dmraid {
devices::make($_->{device}) foreach @$drives;
require fs::dmraid;
- fs::dmraid::init() or log::l("dmraid::init failed"), return;
+ eval { 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)));