Style improvements

This commit is contained in:
Michael Boelen 2016-10-26 12:55:46 +02:00
parent e54bae0c6d
commit 4886054187
1 changed files with 5 additions and 5 deletions

View File

@ -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"