diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-07-01 04:51:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-07-01 04:51:12 +0000 |
commit | 728ed7a373f3f9d7bd24abbed9de82891b76c281 (patch) | |
tree | f60eea1883fb7fb2f3a623c07d13867c42b913a1 | |
parent | 2c6051c628974a1eded49f8895f6c4611008a17b (diff) | |
download | drakx-728ed7a373f3f9d7bd24abbed9de82891b76c281.tar drakx-728ed7a373f3f9d7bd24abbed9de82891b76c281.tar.gz drakx-728ed7a373f3f9d7bd24abbed9de82891b76c281.tar.bz2 drakx-728ed7a373f3f9d7bd24abbed9de82891b76c281.tar.xz drakx-728ed7a373f3f9d7bd24abbed9de82891b76c281.zip |
in standalone, missing dmraid implies we don't have dmraid devices, so make it clean and don't call dmraid
-rw-r--r-- | perl-install/fs/dmraid.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/fs/dmraid.pm b/perl-install/fs/dmraid.pm index 3fb4d9cd8..7bc5d9162 100644 --- a/perl-install/fs/dmraid.pm +++ b/perl-install/fs/dmraid.pm @@ -17,6 +17,8 @@ use run_program; init() or log::l("dmraid::init failed"); sub init() { + whereis_binary('dmraid') or die "dmraid not installed"; + eval { modules::load('dm-mirror') }; devices::init_device_mapper(); if ($::isInstall) { |