summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit/gitolite-hooks/irc-announce4
1 files changed, 3 insertions, 1 deletions
diff --git a/git/gitolite-hooks/irc-announce b/git/gitolite-hooks/irc-announce
index 32ae8f26..2d1603d0 100755
--- a/git/gitolite-hooks/irc-announce
+++ b/git/gitolite-hooks/irc-announce
@@ -100,5 +100,7 @@ privmsg_cat() { awk '{ print "PRIVMSG "ENVIRON["IRC_CHANNEL"]" :"$0 }'; }
echo2 'QUIT :Gone to have lunch'
printf 
+ sleep 1
+ exit
} \
- | nc -c "$IRC_SERVER" "$IRC_PORT"
+ | nc "$IRC_SERVER" "$IRC_PORT"