Merge "nova-rootwrap: wait() for return code before exit"

This commit is contained in:
Jenkins
2012-02-08 09:54:45 +00:00
committed by Gerrit Code Review

View File

@@ -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)