change BAD back to red; simpler logic to decide if color code should show

This commit is contained in:
Ben Allen
2017-06-14 21:36:53 -05:00
parent 2141bf165d
commit b1a67dfd03

View File

@@ -119,7 +119,7 @@ else
SECTION="" # Section (yellow)
NOTICE="" # Notice (yellow)
OK="" # Ok (green)
BAD="" # Bad (red)
BAD="" # Bad (red)
CYAN=""
BLUE=""
BROWN=""
@@ -254,7 +254,7 @@ printCurrentDate(){
}
printColorsCode(){
if [[ $MONOCHROME -ne 1 ]]; then
if [[ $MONOCHROME -eq 0 ]]; then
echo -e "\nColors Code for results: $NOTICE INFORMATIVE$NORMAL,$OK OK (RECOMMENDED VALUE)$NORMAL, $BAD WARNING (FIX REQUIRED)$NORMAL \n"
fi
}