mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-12-23 04:43:37 +01:00
fix: proper detail msg in vuln status
This commit is contained in:
parent
8ed7d465aa
commit
dead0054a4
@ -360,8 +360,10 @@ pvulnstatus()
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# display info if we're not in quiet/batch mode
|
# display info if we're not in quiet/batch mode
|
||||||
|
vulnstatus="$2"
|
||||||
|
shift 2
|
||||||
_info_nol "> \033[46m\033[30mSTATUS:\033[0m "
|
_info_nol "> \033[46m\033[30mSTATUS:\033[0m "
|
||||||
case "$2" in
|
case "$vulnstatus" in
|
||||||
UNK) pstatus yellow 'UNKNOWN' "$@";;
|
UNK) pstatus yellow 'UNKNOWN' "$@";;
|
||||||
VULN) pstatus red 'VULNERABLE' "$@";;
|
VULN) pstatus red 'VULNERABLE' "$@";;
|
||||||
OK) pstatus green 'NOT VULNERABLE' "$@";;
|
OK) pstatus green 'NOT VULNERABLE' "$@";;
|
||||||
|
Loading…
Reference in New Issue
Block a user