mirror of https://github.com/CISOfy/lynis.git
[FIRE-4586] escape search string
This commit is contained in:
parent
b2395ab175
commit
bfbe35055a
|
@ -461,7 +461,7 @@
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
if [ ${IPTABLES_ACTIVE} -eq 1 ]; then
|
if [ ${IPTABLES_ACTIVE} -eq 1 ]; then
|
||||||
if [ ! -z "${IPTABLESSAVEBINARY}" ]; then
|
if [ ! -z "${IPTABLESSAVEBINARY}" ]; then
|
||||||
HAS_LOGGING=$(${IPTABLESSAVEBINARY} | ${GREPBINARY} "-j LOG")
|
HAS_LOGGING=$(${IPTABLESSAVEBINARY} | ${GREPBINARY} "\-j LOG")
|
||||||
if [ -z "${HAS_LOGGING}" ]; then
|
if [ -z "${HAS_LOGGING}" ]; then
|
||||||
Report "firewall_no_logging[]=iptables"
|
Report "firewall_no_logging[]=iptables"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue