mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2025-01-06 17:30:25 +01:00
remove superfluous space from test line 315
Extra space was causing non-existent variable to be tested resulting in 'YES' if running in live mode and IBRS compiled in
This commit is contained in:
parent
949f316f89
commit
cc0b325383
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user