mirror of https://github.com/CISOfy/lynis.git
Wrap quotes properly for dash and other(?) shells
This commit is contained in:
parent
106db35b1b
commit
79786e5cc9
|
@ -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} == x'off' ]; 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
|
||||
|
|
Loading…
Reference in New Issue