summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fsedit.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 5cde8036c..0cad90d51 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -408,6 +408,7 @@ sub change_type($$$) {
$type != $part->{type} or return;
$hd->{isDirty} = 1;
$part->{mntpoint} = '' if isSwap($part) && $part->{mntpoint} eq "swap";
+ $part->{mntpoint} = '' if isLVM({ type => $type }) || isRAID({ type => $type });
$part->{type} = $type;
$part->{notFormatted} = 1;
$part->{isFormatted} = 0;