From 65d0eb9621e50497c6c48320c268d52a24667e3c Mon Sep 17 00:00:00 2001 From: diefans Date: Tue, 29 Jan 2013 13:53:36 +0100 Subject: [PATCH] proper bin path now called --- library/supervisorctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/supervisorctl b/library/supervisorctl index 0882a3a3dde..9e188cd454c 100644 --- a/library/supervisorctl +++ b/library/supervisorctl @@ -58,7 +58,7 @@ def main(): SUPERVISORCTL = module.get_bin_path('supervisorctl', True) - rc, out, err = module.run_command('%s status' % supervisorctl) + rc, out, err = module.run_command('%s status' % SUPERVISORCTL) present = name in out if state == 'present': @@ -73,7 +73,7 @@ def main(): module.exit_json(changed=False, name=name, state=state) - rc, out, err = module.run_command('%s status %s' % (supervisorctl, name)) + rc, out, err = module.run_command('%s status %s' % (SUPERVISORCTL, name)) running = 'RUNNING' in out if running and state == 'started':