Fix crontab command for postinstall

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2019-12-15 14:05:22 +01:00
parent 0e5ada66d1
commit 9c2e2e8fe4

View File

@ -261,7 +261,7 @@ gather_smtp_relay_data() {
make_cron_entries() {
crontab -u "$PILERUSER" -l > "$CRON_ORIG"
crontab -u "$PILERUSER" -l || true > "$CRON_ORIG"
if grep PILERSTART "$CRON_ORIG" > /dev/null 2>&1 != 0; then
cat /dev/null > "$CRON_ORIG"