From 82972f8790cfa9d61399d811403bb2f2bea4bf6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Sun, 7 Jan 2018 16:32:34 +0100 Subject: [PATCH] fix status unknown for variant 1 --- spectre-meltdown-checker.sh | 1 + 1 file changed, 1 insertion(+) 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)