diff options
author | Stéphane Lesimple <speed47_github@speed47.net> | 2018-01-07 16:32:34 +0100 |
---|---|---|
committer | Stéphane Lesimple <speed47_github@speed47.net> | 2018-01-07 16:32:34 +0100 |
commit | 82972f8790cfa9d61399d811403bb2f2bea4bf6a (patch) | |
tree | 2d367d4ea151add6eb90fa5d7985b5030394d133 | |
parent | 30de4f63362d15fd5e8f92fef45fa8d95ef4ecdf (diff) | |
download | spectre-meltdown-checker-82972f8790cfa9d61399d811403bb2f2bea4bf6a.tar.lz spectre-meltdown-checker-82972f8790cfa9d61399d811403bb2f2bea4bf6a.tar.xz spectre-meltdown-checker-82972f8790cfa9d61399d811403bb2f2bea4bf6a.zip |
fix status unknown for variant 1
-rwxr-xr-x | spectre-meltdown-checker.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 49dc406..accdf0d 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -73,6 +73,7 @@ extract_vmlinux() /bin/echo -e "\033[1;34mCVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1'\033[0m" /bin/echo -n "* Kernel compiled with LFENCE opcode inserted at the proper places: " +status=0 img='' [ -e /boot/vmlinuz-$(uname -r) ] && img=/boot/vmlinuz-$(uname -r) [ -e /boot/vmlinux-$(uname -r) ] && img=/boot/vmlinux-$(uname -r) |