From 11e3355e601cd41fad0398fb8ff21e25ca2dd3b7 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 27 Apr 2023 11:49:14 +0200 Subject: [PATCH] KVM detection --- run/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/run.sh b/run/run.sh index 0fb0558..e9d3693 100755 --- a/run/run.sh +++ b/run/run.sh @@ -53,7 +53,7 @@ else [ -e /dev/kvm ] && KVM_ERR="(no write access)" || KVM_ERR="(device file missing)" fi -if [ -z "${KVM_ERR}" ]; then +if [ ! -z "${KVM_ERR}" ]; then echo "Error: KVM acceleration not detected ${KVM_ERR}, please enable it." [ "$DEBUG" != "Y" ] && exit 88 fi