fix isEFI variable assignment

This commit is contained in:
Alexander Tomokhov 2023-11-21 00:25:34 +04:00
parent ce8d1f8404
commit 73b5863968

View file

@ -157,7 +157,7 @@ findESP() {
prepareEnv() {
isEFI=0
[ -d /sys/firmware/efi ] || isEFI=1
[ -d /sys/firmware/efi ] && isEFI=1
if ((isEFI)); then
ESP="$(findESP)"