summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-23 08:44:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-23 08:44:10 +0000
commitb947c7a4f598e5ebc8cb3b8585a8b4d40683bfa1 (patch)
treeb56dbce44d395e0aa74b09c59ac13f586f69d2cc /perl-install
parentf9d902634f9fd8e2d4649a107a03cad9c071d6cd (diff)
downloaddrakx-b947c7a4f598e5ebc8cb3b8585a8b4d40683bfa1.tar
drakx-b947c7a4f598e5ebc8cb3b8585a8b4d40683bfa1.tar.gz
drakx-b947c7a4f598e5ebc8cb3b8585a8b4d40683bfa1.tar.bz2
drakx-b947c7a4f598e5ebc8cb3b8585a8b4d40683bfa1.tar.xz
drakx-b947c7a4f598e5ebc8cb3b8585a8b4d40683bfa1.zip
handle dmraid require fail
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 ae403b9d7..404376258 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -105,7 +105,7 @@ sub handle_dmraid {
devices::make($_->{device}) foreach @$drives;
- require fs::dmraid;
+ eval { require fs::dmraid; 1 } or return;
my @pvs = fs::dmraid::pvs();
my @vgs = fs::dmraid::vgs();