3 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
5 cd /m
/md
/l
/testignore
/new
10 if [[ $file -nt $latest ]]; then
15 if [[ $latest ]]; then
16 last_sec
=$
(awk '/^Subject: / {print $3}' $latest)
20 limit
=$
(( now
- 60 * 22 ))
22 if (( last_sec
< limit
)); then
23 echo $HOSTNAME mailtest failure
24 touch /nocow
/mailtest-failure
26 rm -f /nocow
/mailtest-failure
29 find -type f
-mtime +1 -delete