Fix incorrect already running to already started message check for supervisord

This commit is contained in:
Ryan Lane 2014-06-25 14:34:02 -05:00
parent 502d9c895d
commit 6926912d39

View File

@ -27,7 +27,7 @@ def _check_error(result, success_message):
ret = {}
if 'ERROR' in result:
if 'already running' in result:
if 'already started' in result:
ret['comment'] = success_message
elif 'not running' in result:
ret['comment'] = success_message