summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-07-05 09:45:47 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-07-05 09:45:47 +0200
commit9bc2ad2b2da7a9bb882661f4079796adc188d73e (patch)
tree062d507893df3a84f1f2dd25aa02d51735df95f7
parent75d9482590a552876110b8e03401dfabd664ad9e (diff)
downloaddrakx-9bc2ad2b2da7a9bb882661f4079796adc188d73e.tar
drakx-9bc2ad2b2da7a9bb882661f4079796adc188d73e.tar.gz
drakx-9bc2ad2b2da7a9bb882661f4079796adc188d73e.tar.bz2
drakx-9bc2ad2b2da7a9bb882661f4079796adc188d73e.tar.xz
drakx-9bc2ad2b2da7a9bb882661f4079796adc188d73e.zip
fix inverted test
-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 f3b35a6a6..ac4b08896 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -296,7 +296,7 @@ sub isEmpty { !$_[0]{fs_type} && $_[0]{pt_type} == 0 }
sub isBIOS_GRUB { $_[0]{pt_type} eq 'BIOS_GRUB' }
sub isESP { $_[0]{pt_type} == 0xef && member($_[0]{fs_type}, qw(fat32 vfat)) }
sub isExtended { $_[0]{pt_type} == 5 || $_[0]{pt_type} == 0xf || $_[0]{pt_type} == 0x85 }
-sub isBlockCheckable { member($_[0]{fs_type}, qw(btrfs hfs ntfs ntfs-3g reiserfs xfs)) }
+sub isBlockCheckable { !member($_[0]{fs_type}, qw(btrfs hfs ntfs ntfs-3g reiserfs xfs)) }
sub isRawLVM { $_[0]{pt_type} == 0x8e || $_[0]{type_name} eq 'Linux Logical Volume Manager' }
sub isRawRAID { $_[0]{pt_type} == 0xfd || $_[0]{type_name} eq 'Linux RAID' }
sub isRawLUKS { $_[0]{type_name} eq 'Encrypted' }