[INSE-8050] corrected function call for showing suggestion

This commit is contained in:
Michael Boelen 2019-12-18 12:04:32 +01:00
parent c4b24c48a9
commit 94ba30e765
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@
if ${LAUNCHCTL_BINARY} list | ${GREPBINARY} -sq ${ITEM}; then
Display --indent 2 --text "- ${ITEM}" --result "${STATUS_NO}" --color RED
LogText "Result: found ${ITEM}, which is considered an insecure service"
AddSuggestion "${TEST_NO}" "Consider disabling service ${ITEM}" "launchctl" "-"
ReportSuggestion "${TEST_NO}" "Consider disabling service ${ITEM}" "launchctl" "-"
AddHP 0 1
else
Display --indent 2 --text "- ${ITEM}" --result "${STATUS_OK}" --color GREEN