diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-05-19 17:51:58 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-05-21 15:31:20 -0300 |
commit | baeb605e53c2e8a7dceee86035f6d4cc6b49e131 (patch) | |
tree | d4ee942f17283d90601ff0a99888e90f19773b1e /src/leap/bitmask/app.py | |
parent | 10cf84e5f8be978574b7a7e1a145903b37801753 (diff) |
Improve wait and quit process.
Refactor logic from backend to the vpnprocess.
Diffstat (limited to 'src/leap/bitmask/app.py')
-rw-r--r-- | src/leap/bitmask/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py index e413ab4c..05f81f0b 100644 --- a/src/leap/bitmask/app.py +++ b/src/leap/bitmask/app.py @@ -76,6 +76,7 @@ def sigint_handler(*args, **kwargs): mainwindow = args[0] mainwindow.quit() + def sigterm_handler(*args, **kwargs): """ Signal handler for SIGTERM. @@ -87,6 +88,7 @@ def sigterm_handler(*args, **kwargs): mainwindow = args[0] mainwindow.quit() + def add_logger_handlers(debug=False, logfile=None, replace_stdout=True): """ Create the logger and attach the handlers. |