mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 16:54:26 +02:00
[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
|
if ${LAUNCHCTL_BINARY} list | ${GREPBINARY} -sq ${ITEM}; then
|
||||||
Display --indent 2 --text "- ${ITEM}" --result "${STATUS_NO}" --color RED
|
Display --indent 2 --text "- ${ITEM}" --result "${STATUS_NO}" --color RED
|
||||||
LogText "Result: found ${ITEM}, which is considered an insecure service"
|
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
|
AddHP 0 1
|
||||||
else
|
else
|
||||||
Display --indent 2 --text "- ${ITEM}" --result "${STATUS_OK}" --color GREEN
|
Display --indent 2 --text "- ${ITEM}" --result "${STATUS_OK}" --color GREEN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user