fix: Unbound variable (#242)
This commit is contained in:
parent
8ffc3bf842
commit
fb97388596
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ set -Eeuo pipefail
|
||||||
# Docker environment variables
|
# Docker environment variables
|
||||||
: ${CPU_MODEL:='host'}
|
: ${CPU_MODEL:='host'}
|
||||||
|
|
||||||
|
KVM_ERR=""
|
||||||
|
KVM_OPTS=""
|
||||||
|
|
||||||
if [[ "$ARCH" == "amd64" && "$KVM" != [Nn]* ]]; then
|
if [[ "$ARCH" == "amd64" && "$KVM" != [Nn]* ]]; then
|
||||||
|
|
||||||
if [ -e /dev/kvm ] && sh -c 'echo -n > /dev/kvm' &> /dev/null; then
|
if [ -e /dev/kvm ] && sh -c 'echo -n > /dev/kvm' &> /dev/null; then
|
||||||
|
|
Loading…
Reference in a new issue