diff options
Diffstat (limited to 'ironic/cmd/api.py')
-rw-r--r-- | ironic/cmd/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/cmd/api.py b/ironic/cmd/api.py index 2323c4b09..f75aa9ee7 100644 --- a/ironic/cmd/api.py +++ b/ironic/cmd/api.py @@ -39,7 +39,7 @@ def main(): launcher = ironic_service.process_launcher() server = wsgi_service.WSGIService('ironic_api', CONF.api.enable_ssl_api) launcher.launch_service(server, workers=server.workers) - launcher.wait() + sys.exit(launcher.wait()) if __name__ == '__main__': |