[Cryptech-Commits] [sw/libhal] 02/03: Don't intefere with sys.exit().

git at cryptech.is git at cryptech.is
Thu Apr 27 00:15:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch ksng
in repository sw/libhal.

commit bf19937394ad4286d4c0e820ca128ea0cc95e35a
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Wed Apr 26 20:00:30 2017 -0400

    Don't intefere with sys.exit().
---
 cryptech_muxd | 4 ++--
 1 file 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:



More information about the Commits mailing list