chiark
/
gitweb
/
~mdw
/
rcheck
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check, rcheck: Propagate exit status better; capture lines more precisely.
[rcheck]
/
check.d
/
logs
diff --git
a/check.d/logs
b/check.d/logs
index d18e6b66ead7ff4add2a82db42b29254d922c993..9da514ccafa5ced0d8ff191afe8290135ea37480 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