Make sure crontab is always written with a newline. Some cron implementations (e.g. cronie) would give an error otherwise.
Was fixed in #781 and reintroduced with 6d77e319cd9c15f54dd60acc7879b938535d317c (refactoring).
Additionally fixing behavior of accidentally adding empty lines to crontab.
I verified this does not influence regular vixie cron used by Debian systems.
Make sure crontab is always written with a newline. Some cron implementations (e.g. cronie) would give an error otherwise. Was fixed in #781 and reintroduced with 6d77e319cd9c15f54dd60acc7879b938535d317c (refactoring). Additionally fixing behavior of accidentally adding empty lines to crontab.
I verified this does not influence regular vixie cron used by Debian systems.