summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-10 17:38:51 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-11 09:39:32 +0200
commit1296c882f30f667a4cba902b4a4a5138f49b6838 (patch)
tree7b70a49ecb38d26aa2bba85d7a2f58bee8c30542
parent9e340d74e5196ef9e52a6790330ef68a00b55a57 (diff)
downloaddrakx-1296c882f30f667a4cba902b4a4a5138f49b6838.tar
drakx-1296c882f30f667a4cba902b4a4a5138f49b6838.tar.gz
drakx-1296c882f30f667a4cba902b4a4a5138f49b6838.tar.bz2
drakx-1296c882f30f667a4cba902b4a4a5138f49b6838.tar.xz
drakx-1296c882f30f667a4cba902b4a4a5138f49b6838.zip
perl_checker cleanup
-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 d67ce0856..2e4904bc0 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -50,7 +50,7 @@ sub init_efi_suggestions {
my $mntpoint;
# only suggests /boot/EFI if there's not already one:
if (is_uefi()) {
- if (!grep { isESP($_) } @$fstab) {
+ if (!any { isESP($_) } @$fstab) {
$mntpoint = { mntpoint => "/boot/EFI", size => MB(100), pt_type => 0xef, ratio => 1, maxsize => MB(300) };
}
}