Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2017-02-10 13:14:01 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-02-10 13:14:01 +0300
commitbfbe35055aa488ab63d9041d1b6f50329f891875 (patch)
tree58f3653eacf76a8e817459ae811373b1080980a1 /include/tests_firewalls
parentb2395ab175843ec7f2c738628fbb5331d5a41b48 (diff)
[FIRE-4586] escape search string
Diffstat (limited to 'include/tests_firewalls')
-rw-r--r--include/tests_firewalls2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_firewalls b/include/tests_firewalls
index 627cee37..4c434c7e 100644
--- a/include/tests_firewalls
+++ b/include/tests_firewalls
@@ -461,7 +461,7 @@
if [ ${SKIPTEST} -eq 0 ]; then
if [ ${IPTABLES_ACTIVE} -eq 1 ]; then
if [ ! -z "${IPTABLESSAVEBINARY}" ]; then
- HAS_LOGGING=$(${IPTABLESSAVEBINARY} | ${GREPBINARY} "-j LOG")
+ HAS_LOGGING=$(${IPTABLESSAVEBINARY} | ${GREPBINARY} "\-j LOG")
if [ -z "${HAS_LOGGING}" ]; then
Report "firewall_no_logging[]=iptables"
fi