From a44e322db40791e8331f9eed21415599fa261522 Mon Sep 17 00:00:00 2001 From: Markus Amalthea Magnuson Date: Fri, 27 Jun 2014 14:53:54 +0200 Subject: [PATCH] Use correct parameter name in error message. The parameter is called `cron_file` but the error message uses `file` which is confusing. --- library/system/cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/system/cron b/library/system/cron index 74e1e9cb6bb..29cf374d65b 100644 --- a/library/system/cron +++ b/library/system/cron @@ -449,7 +449,7 @@ def main(): if cron_file and do_install: if not user: - module.fail_json(msg="To use file=... parameter you must specify user=... as well") + module.fail_json(msg="To use cron_file=... parameter you must specify user=... as well") if reboot and special_time: module.fail_json(msg="reboot and special_time are mutually exclusive")