Merge a6f446b15fe9a7474a8293158217891a14ff9c12 into 67bf761029071165f64f8921d00fb310ff68a7b5

This commit is contained in:
Benjamin Bouvier 2018-04-08 19:18:26 +00:00 committed by GitHub
commit d48fc196f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -590,7 +590,7 @@ pvulnstatus()
# display info if we're not in quiet/batch mode # display info if we're not in quiet/batch mode
vulnstatus="$2" vulnstatus="$2"
shift 2 shift 2
_info_nol "> \033[46m\033[30mSTATUS:\033[0m " _info_nol "> \033[46m\033[30mKERNEL STATUS:\033[0m "
case "$vulnstatus" in case "$vulnstatus" in
UNK) pstatus yellow 'UNKNOWN' "$@";; UNK) pstatus yellow 'UNKNOWN' "$@";;
VULN) pstatus red 'VULNERABLE' "$@";; VULN) pstatus red 'VULNERABLE' "$@";;
@ -2017,7 +2017,7 @@ check_variant2_linux()
else else
pstatus yellow NO pstatus yellow NO
if [ -e "$specex_knob_dir/ibrs_enabled" ]; then if [ -e "$specex_knob_dir/ibrs_enabled" ]; then
_verbose " - To enable, \`echo 1 > $specex_knob_dir/ibrs_enabled' as root. If you don't have hardware support, you'll get an error." _verbose " - To enable, \`echo 1 > $specex_knob_dir/ibrs_enabled' as root. If you don't have hardware support, you'll get an error."
fi fi
fi fi
;; ;;