From: Beat Bolli Date: Wed, 25 Dec 2013 14:29:33 +0000 (+0100) Subject: irk: explain why we think irkerd isn't running X-Git-Tag: 2.8~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2e6c4840bfffc628f83449dec4d2a769c0141412;p=irker.git irk: explain why we think irkerd isn't running Signed-off-by: Eric S. Raymond --- diff --git a/irk b/irk index 0e88a1a..3ef9b4e 100755 --- a/irk +++ b/irk @@ -22,8 +22,8 @@ def send(s, target, message): try: s = socket.create_connection(("localhost", 6659)) -except: - print "No irker is running." +except socket.error, e: + sys.stderr.write("irk: no irkerd running: %r\n" % e) target = sys.argv[1] if not "irc:" in target: