Style improvements

This commit is contained in:
Michael Boelen 2016-10-26 12:55:46 +02:00
parent e54bae0c6d
commit 4886054187

View File

@ -61,7 +61,7 @@
Report "compiler[]=${ASBINARY}" Report "compiler[]=${ASBINARY}"
AddHP 2 3 AddHP 2 3
HARDEN_COMPILERS_NEEDED=1 HARDEN_COMPILERS_NEEDED=1
else else
AddHP 3 3 AddHP 3 3
fi fi
fi fi
@ -73,7 +73,7 @@
Report "compiler[]=${GCCBINARY}" Report "compiler[]=${GCCBINARY}"
AddHP 2 3 AddHP 2 3
HARDEN_COMPILERS_NEEDED=1 HARDEN_COMPILERS_NEEDED=1
else else
AddHP 3 3 AddHP 3 3
fi fi
fi fi
@ -105,10 +105,10 @@
AddHP 3 3 AddHP 3 3
else else
LogText "Result: no malware scanner found" LogText "Result: no malware scanner found"
if [$MACHINE_ROLE = "personal"]; then if [ "${MACHINE_ROLE}" = "personal"]; then
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW
else 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 fi
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
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" 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"