Shellcheck

This commit is contained in:
Kroese 2023-04-21 07:27:43 +02:00 committed by GitHub
parent d394fb16d9
commit db2b44b9a2

View File

@ -44,7 +44,7 @@ fi
KVM_OPTS=""
if [ -e /dev/kvm ] && sh -c 'echo -n > /dev/kvm' &> /dev/null; then
if [[ $(grep -e vmx -e svm /proc/cpuinfo) ]]; then
if grep -q -e vmx -e svm /proc/cpuinfo; then
KVM_OPTS=",accel=kvm -enable-kvm -cpu host"
fi
fi