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-05-31 16:47:21 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-05-31 16:47:21 +0300
commit0e535c851a6a36831332ae2fe9b928dda8c64073 (patch)
tree1a0ad6a5139954e8b7816b09decb2d11d9d15958
parent8d2b3a202f06bd7cd8055fbe3d5ef7e547d6bb14 (diff)
Small style improvement
-rw-r--r--include/tests_firewalls5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tests_firewalls b/include/tests_firewalls
index 56897b59..aa5d5fe6 100644
--- a/include/tests_firewalls
+++ b/include/tests_firewalls
@@ -313,12 +313,13 @@
FIREWALL_SOFTWARE="csf"
Report "firewall_software[]=csf"
Display --indent 2 --text "- Checking CSF status (configuration file)" --result "${STATUS_FOUND}" --color GREEN
+
LogText "Test: check if CSF testing mode is disabled"
FIND=$(${GREPBINARY} -P "^TESTING(\s|=)" ${FILE} | ${CUTBINARY} -d= -f2 | ${XARGSBINARY})
if [ "${FIND}" = "0" ]; then
- Display --indent 4 --text "- Check if CSF testing mode is disabled" --result "${STATUS_OK}" --color GREEN
+ Display --indent 4 --text "- Check if CSF testing mode is disabled" --result "${STATUS_OK}" --color GREEN
else
- Display --indent 4 --text "- Check if CSF testing mode is disabled" --result "${STATUS_WARNING}" --color RED
+ Display --indent 4 --text "- Check if CSF testing mode is disabled" --result "${STATUS_WARNING}" --color RED
fi
else
LogText "Result: ${FILE} does NOT exist"