Bugfix: Fix grub.cfg pc/ENABLE_MEMTEST check

Grub [ uses "-a", not "&&".
This commit is contained in:
Ryan Finnie 2021-01-01 22:54:47 -08:00
parent 037e93fe37
commit b8279ed4a1
No known key found for this signature in database
GPG Key ID: 7E60A3A686AE8D98
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ submenu 'Utilities...' --hotkey=u {
source /boot/grub/theme.cfg
# Memtest (if any)
if [ "${grub_platform}" = "pc" ] && @ENABLE_MEMTEST@; then
if [ "${grub_platform}" = "pc" ] -a @ENABLE_MEMTEST@; then
source /boot/grub/memtest.cfg
fi