]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Applied line-buffer patch from Augie Schwer to validation.reporter.sh.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Sat, 10 Mar 2012 08:28:42 +0000 (08:28 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Sat, 10 Mar 2012 08:28:42 +0000 (08:28 +0000)
git-svn-id: file:///svn/unbound/trunk@2642 be551aaa-1e26-0410-a405-d3ace91eadb9

contrib/validation-reporter.sh
doc/Changelog

index 74052b92b1acb64ddd5b3e4585189e71d1765384..cf95c785f9cd3b040497bd943d649dede76be108 100755 (executable)
@@ -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
index d8b1d09cb78ea9432a3d54dcfee543193a972bd5..9d8ddabc5d9799af017ad600331a86e58eb8ff68 100644 (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.