projects
/
irker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
irk: bail out early on connection errors
[irker.git]
/
irk
diff --git
a/irk
b/irk
index 3ef9b4ef923b2c1f4cf5d05b8f8e334aa65b7794..1138a0677c90009da4e4818edab1d1f4b2c4570f 100755
(executable)
--- a/
irk
+++ b/
irk
@@
-24,6
+24,7
@@
try:
s = socket.create_connection(("localhost", 6659))
except socket.error, e:
sys.stderr.write("irk: no irkerd running: %r\n" % e)
+ sys.exit(1)
target = sys.argv[1]
if not "irc:" in target: