Skip to content

Commit

Permalink
Log redirection causes incorrect program exit status. (#2031)
Browse files Browse the repository at this point in the history
* Exit with code 1 when the check script fails (#2022)

* Optimize script logs

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Optimizing Docker Log Output Detection

* Exit with code 1 when the check script fails

* cicd: bump League Patch (#2025)

* Execute after the component check succeeds   && minio.Enable is not configured to use MinIO (#2026)

* Exit with code 1 when the check script fails

* Exit with code 1 when the check script fails

* Exit with code 1 when the check script fails

* Exit with code 1 when the check script fails

* Handle the return value of pre-start

* Handle the return value of pre-start

* Handle the return value of pre-start

* minio.Enable is not configured to use MinIO, therefore the image server is not checked

* minio.Enable is not configured to use MinIO, therefore the image server is not checked

* minio.Enable is not configured to use MinIO, therefore the image server is not checked

* minio.Enable is not configured to use MinIO, therefore the image server is not checked

* Log redirection causes incorrect program exit status.

---------

Co-authored-by: OpenIM Bot <[email protected]>
  • Loading branch information
skiffer-git and kubbot committed Mar 8, 2024
1 parent 5282ab9 commit a534134
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG/CHANGELOG-3.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Version logging for OpenIM

<!-- BEGIN MUNGE: GENERATED_TOC -->

<!-- END MUNGE: GENERATED_TOC -->

<a name="unreleased"></a>
## [Unreleased]


<a name="v3.6.0"></a>
## v3.6.0 - 2024-03-07
### Reverts
- update etcd to v3.5.2 ([#206](https://github.com/openimsdk/open-im-server/issues/206))

### Pull Requests
- Merge branch 'tuoyun'


[Unreleased]: https://github.com/openimsdk/open-im-server/compare/v3.6.0...HEAD
2 changes: 1 addition & 1 deletion pkg/common/config/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.1
3.6.0
4 changes: 3 additions & 1 deletion scripts/install/openim-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ function openim::tools::start_service() {
cmd="${cmd} --prometheus_port ${prometheus_port}"
fi
openim::log::status "Starting binary ${binary_name}..."
${cmd} >>"${LOG_FILE}" 2> >(tee -a "${LOG_FILE}" >&2)

${cmd}

local status=$?

if [ $status -eq 0 ]; then
Expand Down

0 comments on commit a534134

Please sign in to comment.