mirror of https://github.com/CISOfy/lynis.git
Needs to be single = for POSIX sh
This commit is contained in:
parent
79786e5cc9
commit
dc9d3606a4
|
@ -323,7 +323,7 @@
|
||||||
Display --indent 4 --text " ${APACHE_CONFFILE}" --result "${STATUS_NOT_FOUND}" --color WHITE
|
Display --indent 4 --text " ${APACHE_CONFFILE}" --result "${STATUS_NOT_FOUND}" --color WHITE
|
||||||
else
|
else
|
||||||
TRACEENABLED_SETTING=$( echo ${TRACEENABLE} | tr 'A-Z' 'a-z' )
|
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}"
|
LogText "Result: found TraceEnable setting set to 'off' in ${APACHE_CONFFILE}"
|
||||||
Report "Apache setting: 'TraceEnable Off' in ${APACHE_CONFFILE}"
|
Report "Apache setting: 'TraceEnable Off' in ${APACHE_CONFFILE}"
|
||||||
Display --indent 4 --text " ${APACHE_CONFFILE}" --result "${STATUS_FOUND}" --color GREEN
|
Display --indent 4 --text " ${APACHE_CONFFILE}" --result "${STATUS_FOUND}" --color GREEN
|
||||||
|
|
Loading…
Reference in New Issue