aheil / aheil/docker-ttrss

Race condition at first time startup

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug help wanted
Ngôn ngữ chính
Shell
Star
9
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.