diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-26 13:55:46 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-26 13:55:46 +0300 |
commit | 4886054187dcf647b9c55f766a03516dbf5d928e (patch) | |
tree | 740992c57212e6331014974f869400a9d4ad65ee /include/tests_hardening | |
parent | e54bae0c6ddc08d42652675c0d01512683c8ad0d (diff) |
Style improvements
Diffstat (limited to 'include/tests_hardening')
-rw-r--r-- | include/tests_hardening | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tests_hardening b/include/tests_hardening index 4ed6f8e5..14a83074 100644 --- a/include/tests_hardening +++ b/include/tests_hardening @@ -61,7 +61,7 @@ Report "compiler[]=${ASBINARY}" AddHP 2 3 HARDEN_COMPILERS_NEEDED=1 - else + else AddHP 3 3 fi fi @@ -73,7 +73,7 @@ Report "compiler[]=${GCCBINARY}" AddHP 2 3 HARDEN_COMPILERS_NEEDED=1 - else + else AddHP 3 3 fi fi @@ -105,10 +105,10 @@ AddHP 3 3 else LogText "Result: no malware scanner found" - if [$MACHINE_ROLE = "personal"]; then - Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW + if [ "${MACHINE_ROLE}" = "personal"]; then + Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW else - Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED + Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED fi Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED ReportSuggestion ${TEST_NO} "Harden the system by installing at least one malware scanner, to perform periodic file system scans" "-" "Install a tool like rkhunter, chkrootkit, OSSEC" |