Unverified Commit fb973885 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Unbound variable (#242)

parent 8ffc3bf8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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