From 40a9d43c44065ff0036f6ace2da71ce0090976b1 Mon Sep 17 00:00:00 2001 From: Frederik Schreiber Date: Mon, 8 Jan 2018 10:36:29 +0100 Subject: [PATCH] add arch linux bootimage path --- spectre-meltdown-checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 6258887..ca2c82b 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -89,8 +89,8 @@ extract_vmlinux() status=0 img='' # try to find the image of the current running kernel +[ -e /boot/vmlinuz-linux ] && img=/boot/vmlinuz-linux [ -e /boot/vmlinuz-$(uname -r) ] && img=/boot/vmlinuz-$(uname -r) -[ -e /boot/vmlinux-$(uname -r) ] && img=/boot/vmlinux-$(uname -r) [ -e /boot/kernel-$( uname -r) ] && img=/boot/kernel-$( uname -r) [ -e /boot/bzImage-$(uname -r) ] && img=/boot/bzImage-$(uname -r) if [ -z "$img" ]; then