Commit dca5b510 authored by Shane Kerr's avatar Shane Kerr

Don't try to restart anything if we're shutting down.



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@480 e5f2f494-b856-4b98-b285-d166d9295462
parent 016ba9a3
......@@ -260,6 +260,10 @@ class BoB:
def restart_processes(self):
"""Restart any dead processes."""
# XXX: this needs a back-off algorithm
# if we're shutting down, then don't restart
if not self.runnable:
return
# otherwise look through each dead process and try to restart
still_dead = {}
for proc_info in self.dead_processes.values():
if self.verbose:
......
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