1
0
mirror of https://github.com/speed47/spectre-meltdown-checker synced 2024-12-22 20:33:56 +01:00

Merge pull request #24 from angus-p/Remove-extra-space

remove superfluous space from test line 315
This commit is contained in:
Stéphane Lesimple 2018-01-09 08:34:10 +01:00 committed by GitHub
commit 0e8f97afbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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