mirror of
https://github.com/openzim/zimit.git
synced 2025-09-22 11:22:23 -04:00
Merge pull request #430 from openzim/set_return_code
Properly exit with code
This commit is contained in:
commit
e9adc38856
@ -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