mirror of
https://github.com/SystemRage/py-kms.git
synced 2025-08-08 23:58:40 +08:00
Added CTRL+C check
This commit is contained in:
@@ -80,6 +80,8 @@ def start_kms():
|
||||
except Exception:
|
||||
# In case of any error - just shut down
|
||||
pass
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
if enableSQLITE:
|
||||
if None != sqlite_process: sqlite_process.terminate()
|
||||
|
Reference in New Issue
Block a user