change -eq 1 to -ne 0

To accept non-zero value
This commit is contained in:
Suikan 2021-07-03 08:19:00 +09:00
parent dc1e8ff720
commit b7738a9fd8
4 changed files with 10 additions and 10 deletions

View file

@ -44,7 +44,7 @@ export ISEFI=0 # No, BIOS
fi # is EFI firmaare?
# Set partition number based on the firmware type
if [ ${ISEFI} -eq 1 ] ; then
if [ ${ISEFI} -ne 0 ] ; then
# EFI firmware
export EFIPARTITION=1
export CRYPTPARTITION=2