summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/lvm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index d04d7aeee..bb371fd75 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -23,7 +23,7 @@ sub cylinder_size {
}
-modules::load('lvm-mod');
+eval { modules::load('lvm-mod') };
run_program::run('vgscan') if !-e '/etc/lvmtab';
run_program::run('vgchange', '-a', 'y');