mirror of https://github.com/CISOfy/lynis.git
[INSE-8050] corrected function call for showing suggestion
This commit is contained in:
parent
c4b24c48a9
commit
94ba30e765
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue