diff --git a/cdist/conf/type/__cron/gencode-remote b/cdist/conf/type/__cron/gencode-remote
index 37e0dc15..fac0170f 100755
--- a/cdist/conf/type/__cron/gencode-remote
+++ b/cdist/conf/type/__cron/gencode-remote
@@ -38,7 +38,7 @@ if [ "$state_is" != "$state_should" ]; then
       present)
          cat << DONE
 tmp=\$($mktemp)
-crontab -u $user -l > \$tmp
+crontab -u $user -l > \$tmp || true
 cat >> \$tmp << EOC
 $(cat "$__object/parameter/entry")
 EOC