Small style improvement

This commit is contained in:
Michael Boelen 2017-05-31 15:47:21 +02:00
parent 8d2b3a202f
commit 0e535c851a
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04

View File

@ -313,6 +313,7 @@
FIREWALL_SOFTWARE="csf" FIREWALL_SOFTWARE="csf"
Report "firewall_software[]=csf" Report "firewall_software[]=csf"
Display --indent 2 --text "- Checking CSF status (configuration file)" --result "${STATUS_FOUND}" --color GREEN Display --indent 2 --text "- Checking CSF status (configuration file)" --result "${STATUS_FOUND}" --color GREEN
LogText "Test: check if CSF testing mode is disabled" LogText "Test: check if CSF testing mode is disabled"
FIND=$(${GREPBINARY} -P "^TESTING(\s|=)" ${FILE} | ${CUTBINARY} -d= -f2 | ${XARGSBINARY}) FIND=$(${GREPBINARY} -P "^TESTING(\s|=)" ${FILE} | ${CUTBINARY} -d= -f2 | ${XARGSBINARY})
if [ "${FIND}" = "0" ]; then if [ "${FIND}" = "0" ]; then