mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Merge pull request #1285 from dcooper16/fix_color_comparison_typo
Fix typo in check of $COLOR
This commit is contained in:
commit
3d5982e60b
@ -2716,7 +2716,7 @@ emphasize_stuff_in_headers(){
|
||||
-e "s/system-wsgw-management-loopback/${yellow}system-wsgw-management-loopback${off}/g"
|
||||
|
||||
if "$do_html"; then
|
||||
if [[ $COLOR -eq 2 ]]; then
|
||||
if [[ $COLOR -ge 2 ]]; then
|
||||
html_out "$(tm_out "$1" | sed -e 's/\&/\&/g' \
|
||||
-e 's/</\</g' -e 's/>/\>/g' -e 's/"/\"/g' -e "s/'/\'/g" \
|
||||
-e "s/\([0-9]\)/${html_brown}\1${html_off}/g" \
|
||||
|
Loading…
Reference in New Issue
Block a user