From 21b292f82754cb11d84cf8200ff0ee71eed1ae18 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Fri, 1 Nov 2024 22:41:49 -0400 Subject: [PATCH] tests/kola: fix potential unbound variable error Fixup for 8b6e75e. --- tests/kola/upgrade/extended/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kola/upgrade/extended/test.sh b/tests/kola/upgrade/extended/test.sh index 93b7acac8c..d4fada76d3 100755 --- a/tests/kola/upgrade/extended/test.sh +++ b/tests/kola/upgrade/extended/test.sh @@ -230,7 +230,7 @@ selinux-sanity-check() { # Add in a few temporary glob exceptions # https://github.com/coreos/fedora-coreos-tracker/issues/1806 [[ "${path}" =~ /etc/selinux/targeted/active/ ]] && continue - if [ "${add_dtb_exception}" == 'true' ]; then + if [ "${add_dtb_exception:-}" == 'true' ]; then [[ "${path}" =~ /boot/ostree/.*/dtb ]] && continue fi if [[ "${exceptions[$path]:-noexception}" == 'noexception' ]]; then