From d727f6f8742c87e0852e22c2e2b7d4aa6a224dc3 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 11 May 2024 22:04:59 +0200 Subject: [PATCH] fix: Shellcheck --- src/proc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proc.sh b/src/proc.sh index 86aec57..c73760a 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -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."