mirror of
https://github.com/SystemRage/py-kms.git
synced 2025-10-11 01:29:22 +08: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