fix exit
This commit is contained in:
parent
d75baceae9
commit
7ecfd10d50
@ -2,7 +2,6 @@ import subprocess
|
||||
import json
|
||||
import sys
|
||||
import time
|
||||
import os
|
||||
|
||||
def is_json(myjson):
|
||||
try:
|
||||
@ -68,8 +67,8 @@ if __name__ == "__main__":
|
||||
print(result[1])
|
||||
if result[0] == False:
|
||||
print("Exiting 1...")
|
||||
os._exit(1)
|
||||
sys.exit(1)
|
||||
else:
|
||||
print("Exiting 0...")
|
||||
os._exit(0)
|
||||
sys.exit(0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user