aheil / aheil/docker-ttrss

Race condition at first time startup

オープン
#3 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。