From 9c2e2e8fe41a5b0ed0d5c59cad45066efcd42a31 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sun, 15 Dec 2019 14:05:22 +0100 Subject: [PATCH] Fix crontab command for postinstall Signed-off-by: Janos SUTO --- util/postinstall.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/postinstall.sh.in b/util/postinstall.sh.in index 66a2d202..2340e0a8 100755 --- a/util/postinstall.sh.in +++ b/util/postinstall.sh.in @@ -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"