- Applied line-buffer patch from Augie Schwer to validation.reporter.sh.

git-svn-id: file:///svn/unbound/trunk@2642 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2012-03-10 08:28:42 +00:00
parent ac103fc5bd
commit fc52ee5aca
2 changed files with 4 additions and 1 deletions

View file

@ -27,7 +27,7 @@ notify_cmd="nc localhost 1234"
# first the daemon itself, then the controller for the daemon.
reporter_daemon() {
trap "rm -f \"$pidfile\"" EXIT
tail -f $logfile | grep "unbound.*info: validation failure" | \
tail -f $logfile | grep --line-buffered "unbound.*info: validation failure" | \
while read x; do
echo "$x" | $notify_cmd
done

View file

@ -1,3 +1,6 @@
9 March 2012: Wouter
- Applied line-buffer patch from Augie Schwer to validation.reporter.sh.
2 March 2012: Wouter
- flush_infra cleans timeouted servers from the cache too.
- removed warning from --enable-ecdsa.