KVM detection

This commit is contained in:
Kroese 2023-04-27 11:51:09 +02:00 committed by GitHub
parent 11e3355e60
commit 591d36c0cb

View File

@ -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 [ -n "${KVM_ERR}" ]; then
echo "Error: KVM acceleration not detected ${KVM_ERR}, please enable it."
[ "$DEBUG" != "Y" ] && exit 88
fi