mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-09-27 21:20:45 +02:00
enh: use g_mode to explicitly save/load the current running mode
This commit is contained in:
@@ -145,7 +145,7 @@ check_CVE_2022_40982_linux() {
|
||||
if [ -n "$kernel_gds" ]; then
|
||||
pr_info_nol "* Kernel has disabled AVX as a mitigation: "
|
||||
|
||||
if [ "$opt_runtime" = 1 ]; then
|
||||
if [ "$g_mode" = live ]; then
|
||||
# Check dmesg message to see whether AVX has been disabled
|
||||
dmesg_grep 'Microcode update needed! Disabling AVX as mitigation'
|
||||
dmesgret=$?
|
||||
|
||||
Reference in New Issue
Block a user