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:
parent
c705afe764
commit
954d0f6b24
|
@ -1646,7 +1646,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
|
||||||
|
|
||||||
|
@ -3940,6 +3940,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