From b3d67e681ce4a576c80a5392bb4063a432b2f460 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Dec 2013 10:42:38 -0500 Subject: [PATCH] We don't want to return an error status in immediate mode. --- irkerd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irkerd b/irkerd index a107c5e..705b20c 100755 --- a/irkerd +++ b/irkerd @@ -874,7 +874,7 @@ if __name__ == '__main__': irker.irc.debug(1, "irkerd version %s" % version) if immediate: def bailout(): - raise SystemExit, 1 + raise SystemExit, 0 irker.irc.add_event_handler("quit", lambda _c, _e: bailout()) irker.handle('{"to":"%s","privmsg":"%s"}' % (immediate, arguments[0]), quit_after=True) irker.irc.spin() -- 2.26.2