add exit status to nova-manage
This commit is contained in:
@@ -260,7 +260,9 @@ if __name__ == '__main__':
|
|||||||
# call the action with the remaining arguments
|
# call the action with the remaining arguments
|
||||||
try:
|
try:
|
||||||
fn(*argv)
|
fn(*argv)
|
||||||
|
sys.exit(0)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
print "Wrong number of arguments supplied"
|
print "Wrong number of arguments supplied"
|
||||||
print "%s %s: %s" % (category, action, fn.__doc__)
|
print "%s %s: %s" % (category, action, fn.__doc__)
|
||||||
|
sys.exit(2)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user