Skip to content

[Backport 5.0.x] Quote variables in entrypoint.sh test conditions#639

Merged
giohappy merged 1 commit into
5.0.xfrom
backport-628-to-5.0.x
Jun 17, 2026
Merged

[Backport 5.0.x] Quote variables in entrypoint.sh test conditions#639
giohappy merged 1 commit into
5.0.xfrom
backport-628-to-5.0.x

Conversation

@github-actions

Copy link
Copy Markdown

Backport abebfbb from #628.

FORCE_REINIT is not set in .env.sample (only referenced in a comment), so
on a normal start '[ ${FORCE_REINIT} = "true" ]' runs as '[ = "true" ]'
and errors with '[: =: unary operator expected'. The || chain falls through
to the lock-file check so init still works, but the error is printed on
every startup and the toggle is fragile. Quote the compared variables (also
INVOKE_LOG_STDOUT and IS_CELERY) so an empty value compares cleanly.

(cherry picked from commit abebfbb)
@giohappy giohappy self-requested a review June 17, 2026 16:08
@giohappy giohappy merged commit 65315cb into 5.0.x Jun 17, 2026
1 check passed
@giohappy giohappy deleted the backport-628-to-5.0.x branch June 17, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants