Commit 03cf5b27 by Daniel Hokka Zakrisson

Merge pull request #1939 from diefans/devel

proper bin path now called
parents b79960e1 65d0eb96
......@@ -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':
......
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