Merge "nova-rootwrap: wait() for return code before exit"
This commit is contained in:
@@ -67,6 +67,7 @@ if __name__ == '__main__':
|
||||
stdout=sys.stdout,
|
||||
stderr=sys.stderr,
|
||||
env=filtermatch.get_environment(userargs))
|
||||
obj.wait()
|
||||
sys.exit(obj.returncode)
|
||||
|
||||
print "Unauthorized command: %s" % ' '.join(userargs)
|
||||
|
Reference in New Issue
Block a user