shutdown properly if we dont keep serving

This commit is contained in:
Maximilian Hils 2014-02-04 18:40:12 +01:00
parent 66da73d8a9
commit fd828bf959
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class DumpMaster(flow.FlowMaster):
def run(self): # pragma: no cover
if self.o.rfile and not self.o.keepserving:
self.unload_scripts()
self.shutdown()
return
try:
return flow.FlowMaster.run(self)