mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-26 23:34:25 +02:00
Merge pull request #1536 from jpasher-lazor/HTTP-6660_fix_check
HTTP-6660 - Wrap quotes properly for dash and other(?) shells
This commit is contained in:
commit
f4ceac048b
@ -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} == x'off' ]; 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…
x
Reference in New Issue
Block a user