From 6a817022713238b1bb96f3d78f4777f8e6da5762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Fri, 8 Oct 2021 07:28:44 +0200 Subject: [PATCH] Squid logrotate can be daily or monthly --- evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evocheck.sh b/evocheck.sh index 8912760..311c5f3 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -1040,7 +1040,7 @@ check_phpevolinuxconf() { check_squidlogrotate() { if is_debian_stretch || is_debian_buster || is_debian_bullseye; then if is_installed squid; then - grep -q monthly /etc/logrotate.d/squid \ + grep -q -e monthly -e daily /etc/logrotate.d/squid \ || failed "IS_SQUIDLOGROTATE" "missing squid logrotate file" fi fi