Make shellcheck happy

This commit is contained in:
Martin Wimpress 2022-08-18 17:51:55 +01:00
parent 13abd0c5a7
commit d8417a6abe
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -384,7 +384,7 @@ function vm_boot() {
# does not support SMM.
# https://bugzilla.redhat.com/show_bug.cgi?id=1929357#c5
if [ ! -z "${EFI_CODE}" ] || [ ! -e "${EFI_CODE}" ]; then
if [ -n "${EFI_CODE}" ] || [ ! -e "${EFI_CODE}" ]; then
case ${secureboot} in
on)
ovmfs=("/usr/share/OVMF/OVMF_CODE_4M.secboot.fd","/usr/share/OVMF/OVMF_VARS_4M.fd" \