Commit e1233d77 authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: exceptions from Popen caught

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