summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 3d2565bca..a9d6be785 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -188,7 +188,7 @@ Do you agree to lose all the partitions?
if (my $type = fs::type::type_subpart_from_magic($_)) {
if ($type->{fs_type}) {
#- keep {pt_type}
- $_->{fs_type} = $fs_type;
+ $_->{fs_type} = $type->{fs_type};
} else {
put_in_hash($_, $type);
}