diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-09-05 12:22:39 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-09-05 12:22:39 +0300 |
commit | 04f9fae67cb7913d821f16daa792c92fae1ea35a (patch) | |
tree | 65bce6527986bf2fae91547c6385a5841133dd3c /include/tests_firewalls | |
parent | 042e52c0b9fc5e2cc8c6d6b12d570f5dda35308a (diff) |
[FIRE-4520] Use discovered pfctl binary and style improvement
Diffstat (limited to 'include/tests_firewalls')
-rw-r--r-- | include/tests_firewalls | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_firewalls b/include/tests_firewalls index 157166b0..7eff6cdc 100644 --- a/include/tests_firewalls +++ b/include/tests_firewalls @@ -265,7 +265,7 @@ if [ -f /etc/pf.conf ]; then LogText "Result: /etc/pf.conf exists" # Check results from pfctl - PFWARNINGS=`pfctl -n -f /etc/pf.conf -vvv 2>&1 | ${GREPBINARY} -i 'warning'` + PFWARNINGS=$(${PFCTLBINARY} -n -f /etc/pf.conf -vvv 2>&1 | ${GREPBINARY} -i 'warning') if [ "${PFWARNINGS}" = "" ]; then Display --indent 4 --text "- Checking pf configuration consistency" --result "${STATUS_OK}" --color GREEN LogText "Result: no pf filter warnings found" |