From: Eric S. Raymond Date: Mon, 2 Dec 2013 15:42:38 +0000 (-0500) Subject: We don't want to return an error status in immediate mode. X-Git-Tag: 2.4~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3d67e681ce4a576c80a5392bb4063a432b2f460;p=irker.git We don't want to return an error status in immediate mode. --- 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()