~mdw
/
rcheck
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c159fe
)
check.d/logs: Only worry if Exim's paniclog is nonempty.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 11 Jul 2011 08:44:33 +0000
(09:44 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 11 Jul 2011 08:44:33 +0000
(09:44 +0100)
The log rotation script leaves the file in place.
check.d/logs
patch
|
blob
|
blame
|
history
diff --git
a/check.d/logs
b/check.d/logs
index
d18e6b6
..
9da514c
100755
(executable)
--- 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