From b947c7a4f598e5ebc8cb3b8585a8b4d40683bfa1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 23 Jun 2005 08:44:10 +0000 Subject: handle dmraid require fail --- perl-install/fsedit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.1