From fc52ee5acad137f14f8f2dd5b9baee628182ca02 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Sat, 10 Mar 2012 08:28:42 +0000 Subject: [PATCH] - Applied line-buffer patch from Augie Schwer to validation.reporter.sh. git-svn-id: file:///svn/unbound/trunk@2642 be551aaa-1e26-0410-a405-d3ace91eadb9 --- contrib/validation-reporter.sh | 2 +- doc/Changelog | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/validation-reporter.sh b/contrib/validation-reporter.sh index 74052b92b..cf95c785f 100755 --- a/contrib/validation-reporter.sh +++ b/contrib/validation-reporter.sh @@ -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 diff --git a/doc/Changelog b/doc/Changelog index d8b1d09cb..9d8ddabc5 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. -- 2.47.2