Needs to be single = for POSIX sh

This commit is contained in:
Justin Pasher 2024-08-30 12:38:13 -05:00
parent 79786e5cc9
commit dc9d3606a4
No known key found for this signature in database
GPG Key ID: 73122EC9ABD871DD
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@
Display --indent 4 --text " ${APACHE_CONFFILE}" --result "${STATUS_NOT_FOUND}" --color WHITE
else
TRACEENABLED_SETTING=$( echo ${TRACEENABLE} | tr 'A-Z' 'a-z' )
if [ "x${TRACEENABLED_SETTING}" == 'xoff' ]; then
if [ "x${TRACEENABLED_SETTING}" = 'xoff' ]; then
LogText "Result: found TraceEnable setting set to 'off' in ${APACHE_CONFFILE}"
Report "Apache setting: 'TraceEnable Off' in ${APACHE_CONFFILE}"
Display --indent 4 --text " ${APACHE_CONFFILE}" --result "${STATUS_FOUND}" --color GREEN