summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 898b276ac..9ae70b6d8 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -196,7 +196,7 @@ sub format_part {
sub verify {
my ($raids) = @_;
foreach (@$raids) {
- my $nb = $_->{level} =~ /10/ ? 4 : $_->{level} =~ /4|5|6/ ? 3 : 2;
+ my $nb = $_->{level} =~ /4|5|6/ ? 3 : 2;
@{$_->{disks}} >= $nb or die N("Not enough partitions for RAID level %d\n", $_->{level});
}
}