From 2e6c4840bfffc628f83449dec4d2a769c0141412 Mon Sep 17 00:00:00 2001 From: Beat Bolli Date: Wed, 25 Dec 2013 15:29:33 +0100 Subject: [PATCH] irk: explain why we think irkerd isn't running Signed-off-by: Eric S. Raymond --- irk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2