Commit 7e0a4c5a authored by Ross Patterson's avatar Ross Patterson

Place lock file cleanup in a better place, run() already has a finally clause

parent 3be5ff62
......@@ -20,9 +20,9 @@ def run():
starter.setConfiguration(opts.configroot)
try:
starter.prepare()
starter.run()
finally:
starter.shutdown()
starter.run()
def configure(configfile):
""" Provide an API which allows scripts like zopectl to configure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment