Consider starting state as OK

master
Mike Gerber 8 years ago
parent 77c0cc85ec
commit ece5647c25

@ -27,7 +27,7 @@ except subprocess.CalledProcessError as e:
print('System NOT OK: {}'.format(state))
sys.exit(2)
if state == 'running':
if state in ['running', 'starting']:
print('System OK: {}'.format(state))
sys.exit(0)
else:

Loading…
Cancel
Save