Skip to content

Commit

Permalink
Fix typo: /devnull file created in filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
glitsj16 authored and speed47 committed Feb 24, 2023
1 parent b68ebe6 commit bea5cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectre-meltdown-checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3386,7 +3386,7 @@ check_has_vmm()
else
# ignore SC2009 as `ps ax` is actually used as a fallback if `pgrep` isn't installed
# shellcheck disable=SC2009
if command -v ps >/devnull && ps ax | grep -vw grep | grep -q -e '\<qemu' -e '/qemu' -e '<\kvm' -e '/kvm' -e '/xenstored' -e '/xenconsoled'; then
if command -v ps >/dev/null && ps ax | grep -vw grep | grep -q -e '\<qemu' -e '/qemu' -e '<\kvm' -e '/kvm' -e '/xenstored' -e '/xenconsoled'; then
has_vmm=1
fi
fi
Expand Down

0 comments on commit bea5cfc

Please sign in to comment.