Commit abebfbb
Quote variables in entrypoint.sh test conditions
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.1 parent aace86c commit abebfbb
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments