summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-03-14 13:31:57 +0100
committertv <tv@nomic.retiolum>2014-03-14 13:31:57 +0100
commit34155a314021e0a67d1288f9f873b2e9caf6cd4e (patch)
tree78433a7227c92792cbafb1c36439431a43007d6a /git
parentf92547a54d899216a4cd849ee515726824467765 (diff)
irc-announce: don't use nc *-c*
Diffstat (limited to 'git')
-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"