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

Update spectre-meltdown-checker.sh

This commit is contained in:
rrobgill 2018-05-04 07:30:54 +10:00 committed by Stéphane Lesimple
parent 1c0f6d9580
commit 5cc77741af

View File

@ -734,7 +734,7 @@ load_msr()
if [ "$os" = Linux ]; then if [ "$os" = Linux ]; then
if ! grep -e msr /proc/modules 2>/dev/null; then if ! grep -e msr /proc/modules 2>/dev/null; then
modprobe msr 2>/dev/null && insmod_msr=1 modprobe msr 2>/dev/null && insmod_msr=1
_debug "attempted to load module msr, insmod_msr=$insmod_cpuid" _debug "attempted to load module msr, insmod_msr=$insmod_msr"
else else
_debug "msr module already loaded" _debug "msr module already loaded"
fi fi