diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-04-03 12:29:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-04-03 12:29:28 +0000 |
commit | eeea05e1cdf9ad4d4952b887a52e810984c9e217 (patch) | |
tree | 5ab6008220ee842fabed8ddba093873b5fb01b0e /perl-install/lvm.pm | |
parent | f0dd89ace0dc594664e866aed846b253493720b6 (diff) | |
download | drakx-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.pm | 2 |
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'); |