mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2025-01-03 10:05:44 +01:00
Warn on missing kernel info (#265)
Missing kernel information can cause all sorts of false positives or negatives. This is worth at least a warning, and repeating immediately following the status.
This commit is contained in:
parent
4a6fa070a4
commit
c45a06f414
@ -1648,7 +1648,7 @@ if [ "$os" = Linux ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$bad_accuracy" = 1 ]; then
|
if [ "$bad_accuracy" = 1 ]; then
|
||||||
_info "We're missing some kernel info (see -v), accuracy might be reduced"
|
_warn "We're missing some kernel info (see -v), accuracy might be reduced"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -3942,6 +3942,10 @@ if [ -n "$final_summary" ]; then
|
|||||||
_info ""
|
_info ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$bad_accuracy" = 1 ]; then
|
||||||
|
_warn "We're missing some kernel info (see -v), accuracy might be reduced"
|
||||||
|
fi
|
||||||
|
|
||||||
_vars=$(set | grep -Ev '^[A-Z_[:space:]]' | sort | tr "\n" '|')
|
_vars=$(set | grep -Ev '^[A-Z_[:space:]]' | sort | tr "\n" '|')
|
||||||
_debug "variables at end of script: $_vars"
|
_debug "variables at end of script: $_vars"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user