diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 9c64ae1..314ce32 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -312,7 +312,7 @@ if [ "$opt_live" = 1 ]; then ibrs_enabled=$(cat /sys/kernel/debug/x86/ibrs_enabled 2>/dev/null) fi fi -if [ "$ibrs_supported " != 1 -a -n "$opt_map" ]; then +if [ "$ibrs_supported" != 1 -a -n "$opt_map" ]; then if grep -q spec_ctrl "$opt_map"; then pstatus green YES ibrs_supported=1