Skip to content

A free, self-hostable news aggregator…

Escape cron step values with backslash (#2032)

Jan3ae1b57c9d2e
diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.sh
index 5b643da93..d4e1808bc 100755
--- a/Docker/entrypoint.sh
+++ b/Docker/entrypoint.sh
@@ -6,7 +6,7 @@ chown -R :www-data .
chmod -R g+r . && chmod -R g+w ./data/
if [ -n "$CRON_MIN" ]; then
- sed -r -i "/FreshRSS/s/^[^ ]+ /$CRON_MIN /" /var/spool/cron/crontabs/root
+ sed -r -i "\#FreshRSS#s#^[^ ]+ #$CRON_MIN #" /var/spool/cron/crontabs/root
fi
exec "$@"