aboutsummaryrefslogtreecommitdiff
path: root/cryptech_muxd
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 /cryptech_muxd
parent42aefa36bc89373125f88bb8f9a504b64f7bba0f (diff)
Don't intefere with sys.exit().
Diffstat (limited to 'cryptech_muxd')
-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: