From 34155a314021e0a67d1288f9f873b2e9caf6cd4e Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 14 Mar 2014 13:31:57 +0100 Subject: irc-announce: don't use nc *-c* --- git/gitolite-hooks/irc-announce | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'git') 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" -- cgit v1.2.3