From 9e340d74e5196ef9e52a6790330ef68a00b55a57 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Jun 2016 10:51:28 +0200 Subject: refactor for next commit --- perl-install/fs/any.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install/fs') diff --git a/perl-install/fs/any.pm b/perl-install/fs/any.pm index bd5f99b7e..5471980d2 100644 --- a/perl-install/fs/any.pm +++ b/perl-install/fs/any.pm @@ -67,8 +67,10 @@ sub check_hds_boot_and_root { my ($all_hds, $fstab) = @_; fs::get::root_($fstab) or die "Oops, no root partition"; - if (is_uefi() && !fs::get::has_mntpoint("/boot/EFI", $all_hds)) { - die N("You must have a ESP FAT32 partition mounted in /boot/EFI"); + if (is_uefi()) { + if (!fs::get::has_mntpoint("/boot/EFI", $all_hds)) { + die N("You must have a ESP FAT32 partition mounted in /boot/EFI"); + } } } -- cgit v1.2.1