mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-12-05 02:38:04 +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
|
||||
|
||||
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
|
||||
|
||||
@ -3942,6 +3942,10 @@ if [ -n "$final_summary" ]; then
|
||||
_info ""
|
||||
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" '|')
|
||||
_debug "variables at end of script: $_vars"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user