[FIRE-4586] escape search string

This commit is contained in:
Michael Boelen 2017-02-10 11:14:01 +01:00
parent b2395ab175
commit bfbe35055a
1 changed files with 1 additions and 1 deletions

View File

@ -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