summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-03 12:29:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-03 12:29:28 +0000
commiteeea05e1cdf9ad4d4952b887a52e810984c9e217 (patch)
tree5ab6008220ee842fabed8ddba093873b5fb01b0e /perl-install/lvm.pm
parentf0dd89ace0dc594664e866aed846b253493720b6 (diff)
downloaddrakx-eeea05e1cdf9ad4d4952b887a52e810984c9e217.tar
drakx-eeea05e1cdf9ad4d4952b887a52e810984c9e217.tar.gz
drakx-eeea05e1cdf9ad4d4952b887a52e810984c9e217.tar.bz2
drakx-eeea05e1cdf9ad4d4952b887a52e810984c9e217.tar.xz
drakx-eeea05e1cdf9ad4d4952b887a52e810984c9e217.zip
protect the loading of module lvm-mod
Diffstat (limited to 'perl-install/lvm.pm')
-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');