mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-11-15 18:21:25 +00:00
Added CTRL+C check
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user