From 556951d5f0739485f5077c77c1860ce854d393ba Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 16 Jan 2018 16:58:00 +0700 Subject: [PATCH] Add Support for Slackware. Signed-off-by: Willy Sudiarto Raharjo --- spectre-meltdown-checker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 3bb159a..1c9f653 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -583,6 +583,7 @@ if [ "$opt_live" = 1 ]; then fi # if we didn't find a kernel, default to guessing if [ ! -e "$opt_kernel" ]; then + [ -e /boot/vmlinuz ] && opt_kernel=/boot/vmlinuz [ -e /boot/vmlinuz-linux ] && opt_kernel=/boot/vmlinuz-linux [ -e /boot/vmlinuz-linux-libre ] && opt_kernel=/boot/vmlinuz-linux-libre [ -e /boot/vmlinuz-$(uname -r) ] && opt_kernel=/boot/vmlinuz-$(uname -r)