Return 0 exit code on success
This commit is contained in:
parent
47e6ee9ca8
commit
5381381081
@ -179,6 +179,8 @@ def main():
|
|||||||
print(e.get_message())
|
print(e.get_message())
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
||||||
# When the script is executed directly...
|
# When the script is executed directly...
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user