Commit b6f821a2 authored by Julien Muchembled's avatar Julien Muchembled

neoctl: fix exit status code if not ready

parent d112bfbd
...@@ -353,7 +353,7 @@ class Application(object): ...@@ -353,7 +353,7 @@ class Application(object):
try: try:
return action(args[level:]) return action(args[level:])
except NotReadyException, message: except NotReadyException, message:
return 'ERROR: %s' % (message, ) sys.exit('ERROR: ' + message)
def _usage(self, action_dict, level=0): def _usage(self, action_dict, level=0):
result = [] result = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment