diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-11-21 09:25:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-11-21 09:25:41 +0000 |
commit | eaf48b8f1c12e95d9931671298569b8941eecf74 (patch) | |
tree | 171e1cb3399da80bd07922575d1a8a92d8d6d90b /perl-install | |
parent | 840d2ea7595509f1b62e6faeb1a070b056544fc8 (diff) | |
download | drakx-eaf48b8f1c12e95d9931671298569b8941eecf74.tar drakx-eaf48b8f1c12e95d9931671298569b8941eecf74.tar.gz drakx-eaf48b8f1c12e95d9931671298569b8941eecf74.tar.bz2 drakx-eaf48b8f1c12e95d9931671298569b8941eecf74.tar.xz drakx-eaf48b8f1c12e95d9931671298569b8941eecf74.zip |
fix catching fs::dmraid::init() failure
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fsedit.pm | 2 |
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))); |