Merge pull request #1592 from pSub/patch-1

Report a warning if no logrotate configuration is found
This commit is contained in:
Michael Boelen 2025-08-01 08:33:01 +00:00 committed by GitHub
commit 6aa622710f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -264,7 +264,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