From 92cde7de66a3dfe4ff45967f95bb240ab13c753c Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 11 Jul 2011 09:44:33 +0100 Subject: [PATCH] check.d/logs: Only worry if Exim's paniclog is nonempty. The log rotation script leaves the file in place. --- check.d/logs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.d/logs b/check.d/logs index d18e6b6..9da514c 100755 --- a/check.d/logs +++ b/check.d/logs @@ -5,6 +5,6 @@ set -e ## Check Exim's paniclog to see whether it was upset about anything. -if [ -f /var/log/exim4/paniclog ]; then +if [ -s /var/log/exim4/paniclog ]; then echo "W: Exim paniclog exists. Be afraid." fi -- 2.11.0