mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2025-01-08 18:30:26 +01:00
Merge pull request #24 from angus-p/Remove-extra-space
remove superfluous space from test line 315
This commit is contained in:
commit
0e8f97afbc
@ -312,7 +312,7 @@ if [ "$opt_live" = 1 ]; then
|
|||||||
ibrs_enabled=$(cat /sys/kernel/debug/x86/ibrs_enabled 2>/dev/null)
|
ibrs_enabled=$(cat /sys/kernel/debug/x86/ibrs_enabled 2>/dev/null)
|
||||||
fi
|
fi
|
||||||
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
|
if grep -q spec_ctrl "$opt_map"; then
|
||||||
pstatus green YES
|
pstatus green YES
|
||||||
ibrs_supported=1
|
ibrs_supported=1
|
||||||
|
Loading…
Reference in New Issue
Block a user