aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Lesimple <speed47_github@speed47.net>2018-01-08 10:51:59 +0100
committerGitHub <noreply@github.com>2018-01-08 10:51:59 +0100
commit623e180ae145ce68118606e0fa40b3854ab8dab5 (patch)
treeaedc6ed351e2cd3f6b5249fcde585f7005f2c676
parentc1004d5171a8819fa566f2beeebcab81f85f8a24 (diff)
parent40a9d43c44065ff0036f6ace2da71ce0090976b1 (diff)
downloadspectre-meltdown-checker-623e180ae145ce68118606e0fa40b3854ab8dab5.tar.lz
spectre-meltdown-checker-623e180ae145ce68118606e0fa40b3854ab8dab5.tar.xz
spectre-meltdown-checker-623e180ae145ce68118606e0fa40b3854ab8dab5.zip
Merge pull request #3 from TheHendla/arch_boot_img
add arch linux bootimage path
-rwxr-xr-xspectre-meltdown-checker.sh2
1 files changed, 1 insertions, 1 deletions
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