summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/dmraid.pm2
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) {