aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-26 20:00:30 -0400
committerRob Austein <sra@hactrn.net>2017-04-26 20:00:30 -0400
commitbf19937394ad4286d4c0e820ca128ea0cc95e35a (patch)
tree87d9fc2691ffcb4bff79d27d5bc0800a6cabaab2
parent42aefa36bc89373125f88bb8f9a504b64f7bba0f (diff)
Don't intefere with sys.exit().
-rwxr-xr-xcryptech_muxd4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptech_muxd b/cryptech_muxd
index 8e57ef8..d28f758 100755
--- a/cryptech_muxd
+++ b/cryptech_muxd
@@ -437,8 +437,8 @@ def main():
if __name__ == "__main__":
try:
tornado.ioloop.IOLoop.current().run_sync(main)
- except KeyboardInterrupt:
- logger.debug("Normal SIGTERM exit")
+ except (SystemExit, KeyboardInterrupt):
+ pass
except:
logger.exception("Unhandled exception")
else: