more color/mono simplifications

This commit is contained in:
Ben Allen
2017-06-14 21:34:41 -05:00
parent 3bd8a0f8af
commit 2141bf165d

View File

@@ -113,6 +113,7 @@ if [[ $MONOCHROME -eq 1 ]]; then
WHITE=''
else
# Colors
# NOTE: Your editor may NOT show the 0x1b / escape character left of the '['
NORMAL=""
WARNING="" # Bad (red)
SECTION="" # Section (yellow)
@@ -296,11 +297,7 @@ infoReferenceLong(){
infoReferenceShort(){
# Report review note:
if [[ $MONOCHROME -eq 1 ]]; then
echo -n " http://bit.ly/2g3PEf7"
else
echo -e " $NOTICE http://bit.ly/2g3PEf7$NORMAL"
fi
echo -e " $NOTICE http://bit.ly/2g3PEf7$NORMAL"
}
prowlerBanner