From d820be81e50d76d150d2f6a5386d16cfd2a11a82 Mon Sep 17 00:00:00 2001 From: Luca Berruti Date: Wed, 3 Feb 2016 16:57:06 +0100 Subject: [PATCH] Typo. --- system/cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/cron.py b/system/cron.py index 84ed899c081..3dc58f733a4 100644 --- a/system/cron.py +++ b/system/cron.py @@ -581,7 +581,7 @@ def main(): if job is None and do_install: module.fail_json(msg="You must specify 'job' to install a new cron job or variable") - if (insertafter or insertafter) and not env and do_install: + if (insertafter or insertbefore) and not env and do_install: module.fail_json(msg="Insertafter and insertbefore parameters are valid only with env=yes") if reboot: