summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs/type.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index 0fa20c2c8..ca227d126 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -360,7 +360,7 @@ sub can_be_one_of_those_fs_types {
sub maybeFormatted {
my ($part) = @_;
- $part->{isFormatted} || !$part->{notFormatted} && !$part->{bad_fs_type_magic};
+ $part->{isFormatted} || !$part->{notFormatted} && (!$part->{bad_fs_type_magic} || $part->{options} =~ /encrypted/);
}
sub set_isFormatted {
my ($part, $val) = @_;