mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-13 14:44:50 -04:00
Added CTRL+C check
This commit is contained in:
parent
1e6a55d06a
commit
28faacdf1d
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ def start_kms():
|
||||||
except Exception:
|
except Exception:
|
||||||
# In case of any error - just shut down
|
# In case of any error - just shut down
|
||||||
pass
|
pass
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
pass
|
||||||
|
|
||||||
if enableSQLITE:
|
if enableSQLITE:
|
||||||
if None != sqlite_process: sqlite_process.terminate()
|
if None != sqlite_process: sqlite_process.terminate()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue