mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-10-20 23:08:08 +02:00
Minor typo patch.
This commit is contained in:
parent
582b120b12
commit
9424de7327
@ -1587,7 +1587,7 @@ check_variant2()
|
|||||||
if [ "$opt_live" = 1 ]; then
|
if [ "$opt_live" = 1 ]; then
|
||||||
# If retpoline is enabled, the kernel sends this message to the log
|
# If retpoline is enabled, the kernel sends this message to the log
|
||||||
# containing the specific mitigation type.
|
# containing the specific mitigation type.
|
||||||
rp_msg='Spectre V2 : Mitigation:';
|
rp_msg='Spectre V2 : ';
|
||||||
dmesg_grep="$rp_msg Vulnerable: |$rp_msg Mitigation: "
|
dmesg_grep="$rp_msg Vulnerable: |$rp_msg Mitigation: "
|
||||||
ret=$(dmesg | grep -E "$dmesg_grep")
|
ret=$(dmesg | grep -E "$dmesg_grep")
|
||||||
if [ ! -z "$ret" ]; then
|
if [ ! -z "$ret" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user