From 2527e695dd3f2bfc90c9efdeb0cf95552f903f6c Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 15 Nov 2016 08:52:55 -0500 Subject: [PATCH] update hooks --- contrib/tools/hooks/purge-varnish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/tools/hooks/purge-varnish.sh b/contrib/tools/hooks/purge-varnish.sh index 40b4aef..24353e3 100755 --- a/contrib/tools/hooks/purge-varnish.sh +++ b/contrib/tools/hooks/purge-varnish.sh @@ -15,6 +15,6 @@ ip="127.0.1.1" varnish="127.0.0.1:8000" # purge thread page -curl --interface "$ip" -v -X PURGE http://$varnish/thread-$(sha1sum <<< "$op" | cut -d' ' -f1).html +curl --interface "$ip" -X PURGE http://$varnish/thread-$(sha1sum <<< "$op" | cut -d' ' -f1).html &> /dev/null # purge board page -curl --interface "$ip" -v -X PURGE http://$varnish/$1-0.html +curl --interface "$ip" -X PURGE http://$varnish/$1-0.html &> /dev/null