mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2025-07-05 18:39:05 +02:00
Set $l1d_mode to -1 in cases where cpu/vulnerabilities/l1tf is not available
(prevents invalid number error when evaluating [ "$l1d_mode" -ge 1 ]) Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
36d31e5d73
commit
af84646b79
@ -3850,6 +3850,7 @@ check_CVE_2018_3646_linux()
|
||||
pstatus yellow UNKNOWN "unrecognized mode"
|
||||
fi
|
||||
else
|
||||
l1d_mode=-1
|
||||
pstatus yellow UNKNOWN "can't find or read /sys/devices/system/cpu/vulnerabilities/l1tf"
|
||||
fi
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user