summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-02-14 15:30:37 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-02-19 17:20:35 +0100
commite7d014319ef21a963557473ce45adfe5b4e22131 (patch)
treece2a4f9cd8172308ef7a5db17a32ff2e3b8c1737 /perl-install/fs
parentdac6d01cccf8e59d9f2ef02e51cb2c0e67481951 (diff)
downloaddrakx-e7d014319ef21a963557473ce45adfe5b4e22131.tar
drakx-e7d014319ef21a963557473ce45adfe5b4e22131.tar.gz
drakx-e7d014319ef21a963557473ce45adfe5b4e22131.tar.bz2
drakx-e7d014319ef21a963557473ce45adfe5b4e22131.tar.xz
drakx-e7d014319ef21a963557473ce45adfe5b4e22131.zip
simplify
Diffstat (limited to 'perl-install/fs')
-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 0492420e8..b9f4b48d6 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -320,7 +320,7 @@ sub isRecovery {
);
}
-sub isTrueFS { isTrueLocalFS($_[0]) || member($_[0]{fs_type}, qw(nfs)) }
+sub isTrueFS { isTrueLocalFS($_[0]) || $_[0]{fs_type} eq 'nfs' }
sub isTrueLocalFS { member($_[0]{fs_type}, true_local_fs_types()) }
sub isOtherAvailableFS { isESP($_[0]) || isFat_or_NTFS($_[0]) || member($_[0]{fs_type}, 'ufs', 'hfs', 'iso9660') } #- other OS that linux can access its filesystem