Display a missing logrotate file as a suggestion

This commit is contained in:
Pascal Wittmann 2025-01-14 23:49:01 +01:00 committed by Pascal Wittmann
parent 6d8a9aa3a3
commit d9548e8524

View file

@ -265,7 +265,7 @@
Display --indent 2 --text "- Checking logrotate presence" --result "${STATUS_OK}" --color GREEN
LogText "Result: logrotate configuration found"
else
Display --indent 2 --text "- Checking logrotate presence" --result "${STATUS_WARNING}" --color RED
Display --indent 2 --text "- Checking logrotate presence" --result "${STATUS_NOT_FOUND}" --color WHITE
LogText "Result: No logrotate configuration found"
ReportSuggestion "${TEST_NO}" "Check if log files are properly rotated"
fi