aheil / aheil/docker-ttrss

Race condition at first time startup

未关闭
#3 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug help wanted
主要语言
Shell
星标
9
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

When containers are started the first time, there might occure a dace condition while the database is not yet fully set up. database_ready seams not to return a vaild integer value then.

```
ttrss_php_1 | Initializing config.php
ttrss_php_1 | /docker-entrypoint.sh: line 49: [: database_ready: integer expression expected
```
Proposed fix: within the function check the value for 1, otherwise return 0 instead of returning the variable

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。