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