Skip to content

Commit

Permalink
tests/kola: fix potential unbound variable error
Browse files Browse the repository at this point in the history
Fixup for 8b6e75e.
  • Loading branch information
dustymabe committed Nov 2, 2024
1 parent db7707d commit 21b292f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kola/upgrade/extended/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21b292f

Please sign in to comment.