From e2fed9c51f15993b32f245012302cdc4ac51f6fb Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 29 Sep 2021 04:11:26 +0100 Subject: [PATCH] Simplify boot conditional --- quickemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickemu b/quickemu index 3c7a1d6..337cf26 100755 --- a/quickemu +++ b/quickemu @@ -517,7 +517,7 @@ function vm_boot() { # Add the disks # - https://turlucode.com/qemu-disk-io-performance-comparison-native-or-threads-windows-10-version/ - if [ "${boot}" == "efi" ] || [ "${boot}" == "uefi" ]; then + if [[ "${boot}" == *"efi"* ]]; then # shellcheck disable=SC2054 args+=(-drive if=pflash,format=raw,readonly=on,file="${EFI_CODE}" -drive if=pflash,format=raw,file="${EFI_VARS}")