diff options
author | Ryan Finnie <ryan@finnie.org> | 2021-01-01 22:54:47 -0800 |
---|---|---|
committer | Ryan Finnie <ryan@finnie.org> | 2021-01-01 22:54:47 -0800 |
commit | b8279ed4a1580ca96a0184d84f8f64a362630710 (patch) | |
tree | 2975b9964e3e651927fce0f6c96277e6e2cb2238 | |
parent | 037e93fe37f8b5d974e3e6219fa6ee94ad5cf504 (diff) | |
download | vyos-live-build-b8279ed4a1580ca96a0184d84f8f64a362630710.tar.gz vyos-live-build-b8279ed4a1580ca96a0184d84f8f64a362630710.zip |
Bugfix: Fix grub.cfg pc/ENABLE_MEMTEST check
Grub [ uses "-a", not "&&".
-rw-r--r-- | share/bootloaders/grub-pc/grub.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/bootloaders/grub-pc/grub.cfg b/share/bootloaders/grub-pc/grub.cfg index 8f54562cc..4e993df86 100644 --- a/share/bootloaders/grub-pc/grub.cfg +++ b/share/bootloaders/grub-pc/grub.cfg @@ -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 |