Warn on missing kernel info

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:
Brett T. Warden 2018-11-16 12:39:52 -08:00
parent c705afe764
commit 954d0f6b24
1 changed files with 5 additions and 1 deletions

View File

@ -1646,7 +1646,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
@ -3940,6 +3940,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"