From 255d2d67700c926c29b0152e47717c417d7b56c0 Mon Sep 17 00:00:00 2001 From: egghead Date: Tue, 24 Sep 2013 15:36:16 +0000 Subject: [PATCH] supervisorctl module: fixing typo in error handling --- library/web_infrastructure/supervisorctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/web_infrastructure/supervisorctl b/library/web_infrastructure/supervisorctl index f73d803e9d..bcdd300261 100644 --- a/library/web_infrastructure/supervisorctl +++ b/library/web_infrastructure/supervisorctl @@ -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) ]