summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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) };
}
}