mirror of https://github.com/SystemRage/py-kms.git
Added CTRL+C check
This commit is contained in:
parent
1e6a55d06a
commit
28faacdf1d
|
@ -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…
Reference in New Issue