diff --git a/system/cron b/system/cron index f877fc27214..b04fe23ea58 100644 --- a/system/cron +++ b/system/cron @@ -466,7 +466,7 @@ def main(): (backuph, backup_file) = tempfile.mkstemp(prefix='crontab') crontab.write(backup_file) - if crontab.cron_file and not do_install: + if crontab.cron_file and not name and not do_install: changed = crontab.remove_job_file() module.exit_json(changed=changed,cron_file=cron_file,state=state)