From 2bd830369af50c6a83e2116d9be79b6db56af202 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 19 Nov 2013 14:54:20 -0600 Subject: [PATCH] Checking for a transitional running state in supervisorctl Fixes #3977 --- web_infrastructure/supervisorctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_infrastructure/supervisorctl b/web_infrastructure/supervisorctl index a907c66a412..b40e0d4a876 100644 --- a/web_infrastructure/supervisorctl +++ b/web_infrastructure/supervisorctl @@ -151,7 +151,7 @@ def main(): module.exit_json(changed=False, name=name, state=state) rc, out, err = run_supervisorctl('status', name) - running = 'RUNNING' in out + running = 'RUNNING' in out or '(already running)' in out if running and state == 'started': module.exit_json(changed=False, name=name, state=state)