mirror of
https://github.com/CISOfy/lynis.git
synced 2025-09-25 18:59:13 +02:00
Merge pull request #1592 from pSub/patch-1
Report a warning if no logrotate configuration is found
This commit is contained in:
commit
6aa622710f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user