summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openstack/common/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/service.py b/openstack/common/service.py
index dc2d374..d9634dc 100644
--- a/openstack/common/service.py
+++ b/openstack/common/service.py
@@ -132,9 +132,9 @@ class ServiceLauncher(Launcher):
except SystemExit as exc:
status = exc.code
finally:
- self.stop()
if rpc:
rpc.cleanup()
+ self.stop()
return status