fix: Unbound variable (#242)

This commit is contained in:
Kroese
2023-12-16 08:31:39 +01:00
committed by GitHub
parent 8ffc3bf842
commit fb97388596
+3
View File
@@ -4,6 +4,9 @@ set -Eeuo pipefail
# Docker environment variables
: ${CPU_MODEL:='host'}
KVM_ERR=""
KVM_OPTS=""
if [[ "$ARCH" == "amd64" && "$KVM" != [Nn]* ]]; then
if [ -e /dev/kvm ] && sh -c 'echo -n > /dev/kvm' &> /dev/null; then