Commit e1233d77 authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: exceptions from Popen caught

parent 1cabf94a
......@@ -454,8 +454,11 @@ def getSlapStatus(config):
def svcStopAll(config):
"""Stop all Instance processes on this computer"""
return Popen([config['supervisor'], config['configuration_file_path'],
'shutdown']).communicate()[0]
try:
return Popen([config['supervisor'], config['configuration_file_path'],
'shutdown']).communicate()[0]
except:
pass
def removeInstanceRoot(config):
......
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