fix: Shellcheck

This commit is contained in:
Kroese 2024-05-11 22:04:59 +02:00 committed by GitHub
parent 7e68a2ebb8
commit d727f6f874
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ if [[ "$KVM" != [Nn]* ]]; then
if [[ "$OSTYPE" =~ ^darwin ]]; then
warn "you are using MacOS which has no KVM support, this will cause a major loss of performance."
else
if [[ $(grep -qi Microsoft /proc/version) ]]; then
if grep -qi Microsoft /proc/version; then
warn "you are using Windows 10 which has no KVM support, this will cause a major loss of performance."
else
error "KVM acceleration not available $KVM_ERR, this will cause a major loss of performance."