mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
supervisorctl module: fixing typo in error handling
This commit is contained in:
parent
3f4dc876fc
commit
255d2d6770
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def main():
|
|||
if os.path.exists(supervisorctl_path) and module.is_executable(supervisorctl_path):
|
||||
supervisorctl_args = [ supervisorctl_path ]
|
||||
else:
|
||||
module.fail_json(msg="Provided path to supervisorctl does not exist or isn't executable: %s" % ctl_path)
|
||||
module.fail_json(msg="Provided path to supervisorctl does not exist or isn't executable: %s" % supervisorctl_path)
|
||||
else:
|
||||
supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue