mirror of
https://github.com/openzim/zimit.git
synced 2025-09-21 10:57:32 -04:00
Properly exit with code
This commit is contained in:
parent
15b72022ce
commit
bfa226bf81
@ -685,7 +685,7 @@ def sigint_handler(*args): # noqa: ARG001
|
||||
|
||||
|
||||
def zimit():
|
||||
run(sys.argv[1:])
|
||||
sys.exit(run(sys.argv[1:]))
|
||||
|
||||
|
||||
signal.signal(signal.SIGINT, sigint_handler)
|
||||
|
Loading…
x
Reference in New Issue
Block a user