From f1b239a95402398b493fbda637c97c9997561ee7 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 10 Aug 2005 03:28:41 +0000 Subject: {bad_fs_type_magic} is wrong info when we have "encryption" (bugzilla #16893 is about this too) --- perl-install/fs/type.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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) = @_; -- cgit v1.2.1