diff options
Diffstat (limited to 'system/cron.py')
-rw-r--r-- | system/cron.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/cron.py b/system/cron.py index a4784de2..188156ce 100644 --- a/system/cron.py +++ b/system/cron.py @@ -668,7 +668,7 @@ def main(): changed = True # no changes to env/job, but existing crontab needs a terminating newline - if not changed: + if not changed and not crontab.existing == '': if not (crontab.existing.endswith('\r') or crontab.existing.endswith('\n')): changed = True |