Skip to content

Commit

Permalink
Exit with code 1 when the check script fails (#2023)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
skiffer-git committed Mar 8, 2024
1 parent a841628 commit bd31f6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/check-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ if [[ $? -ne 0 ]]; then
echo "+++ cat openim log file >>> ${LOG_FILE}"
openim::log::error "check process failed.\n "
echo "$result"
exit 1
else
openim::log::success "All openim services are running normally! "
fi
Expand Down

0 comments on commit bd31f6b

Please sign in to comment.