mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 16:01:29 +00:00
fix: Unbound variable (#242)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user