diff options
author | mboelen <michael@cisofy.com> | 2016-04-28 10:15:54 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-04-28 10:15:54 +0300 |
commit | 9e312f5a5f2a1379a29151d8cb87cd22f387bc6c (patch) | |
tree | e33f24994327564c621802c4c2052f3685adbb8f /include/tests_tooling | |
parent | 5e587adf8a630383a207adfcc658c1fe6401977f (diff) |
Replaced functions and minor cleanups
Diffstat (limited to 'include/tests_tooling')
-rw-r--r-- | include/tests_tooling | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/tests_tooling b/include/tests_tooling index 407460cb..ddc5c8eb 100644 --- a/include/tests_tooling +++ b/include/tests_tooling @@ -160,11 +160,10 @@ # Fail2ban presence if [ ! "${FAIL2BANBINARY}" = "" ]; then - LogText "Result: Fail2ban is installed (${FAIL2BANBINARY})" - IDS_IPS_TOOL_FOUND=1 - report "ids_ips_tooling[]=fail2ban" FAIL2BAN_FOUND=1 - Report "IPS_tool_running[]=fail2ban-server" + IDS_IPS_TOOL_FOUND=1 + LogText "Result: Fail2ban is installed (${FAIL2BANBINARY})" + Report "ids_ips_tooling[]=fail2ban" Display --indent 2 --text "- Checking presence of Fail2ban" --result FOUND --color GREEN else LogText "Result: Fail2ban not present (fail2ban-server not found)" |