From 4886054187dcf647b9c55f766a03516dbf5d928e Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 26 Oct 2016 12:55:46 +0200 Subject: [PATCH] Style improvements --- include/tests_hardening | 10 +++++----- 1 file 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"