summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-27 10:07:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-27 10:07:56 +0000
commit2890ee9dcb7cc758bdd7f08e9542b680f37e52f0 (patch)
tree69482983dfbdd8328a6158a99deb8f83b00169be /perl-install/diskdrake
parent544a1b148cac7d4e3ad3ea8b4095ca3546230296 (diff)
downloaddrakx-backup-do-not-use-2890ee9dcb7cc758bdd7f08e9542b680f37e52f0.tar
drakx-backup-do-not-use-2890ee9dcb7cc758bdd7f08e9542b680f37e52f0.tar.gz
drakx-backup-do-not-use-2890ee9dcb7cc758bdd7f08e9542b680f37e52f0.tar.bz2
drakx-backup-do-not-use-2890ee9dcb7cc758bdd7f08e9542b680f37e52f0.tar.xz
drakx-backup-do-not-use-2890ee9dcb7cc758bdd7f08e9542b680f37e52f0.zip
since we need mdadm, ensure we have it (bugzilla #12146)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 0f97ad314..83b8c3310 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -815,6 +815,7 @@ sub Add2RAID {
if (ref($md_part)) {
raid::add($md_part, $part);
} else {
+ raid::check_prog($in) or return;
my $md_part = raid::new($raids, disks => [ $part ]);
modifyRAID($in, $raids, $md_part) or return raid::delete($raids, $md_part);
}