From: Mark Wooding Date: Mon, 11 Jul 2011 08:44:33 +0000 (+0100) Subject: check.d/logs: Only worry if Exim's paniclog is nonempty. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/rcheck/commitdiff_plain/92cde7de66a3dfe4ff45967f95bb240ab13c753c check.d/logs: Only worry if Exim's paniclog is nonempty. The log rotation script leaves the file in place. --- 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