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.pm8
1 files changed, 3 insertions, 5 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index b59b2002b..5fcedf3b5 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -132,11 +132,9 @@ sub make {
sub format_part($$) {
my ($raid, $part) = @_;
- make($raid->{raid}, $part) if is($part);
- fs::format_part($part, $part->{toFormatCheck} ? "-c" : ());
- if (is($part)) {
- $_->{isFormatted} = 1 foreach @{$part->{disks}};
- }
+ make($raid->{raid}, $part);
+ fs::real_format_part($part);
+ $_->{isFormatted} = 1 foreach @{$part->{disks}};
}
sub verify($) {