diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index b1b4085..b4b8fb0 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -3201,7 +3201,7 @@ check_has_vmm() # for each binary we want to grep, get the pids for _binary in qemu kvm xenstored xenconsoled do - for _pid in $(pgrep $_binary) + for _pid in $(pgrep -x $_binary) do # resolve the exe symlink, if it doesn't resolve with -m, # which doesn't even need the dest to exist, it means the symlink