From f0a17539d01758b0f9c02a4032f0ffd41d11daac Mon Sep 17 00:00:00 2001 From: hanzhixiao <709674996@qq.com> Date: Wed, 9 Aug 2023 15:57:28 +0800 Subject: [PATCH] 815 Signed-off-by: hanzhixiao <709674996@qq.com> --- scripts/docker_start_all.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/docker_start_all.sh b/scripts/docker_start_all.sh index c41ffbb4e..303a1d0da 100755 --- a/scripts/docker_start_all.sh +++ b/scripts/docker_start_all.sh @@ -32,11 +32,11 @@ need_to_start_server_shell=( component_check=start_component_check.sh $SCRIPTS_ROOT/$component_check -#if [ $? -ne 0 ]; then -# # Print error message and exit -# echo "${BOLD_PREFIX}${RED_PREFIX}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}" -# exit -1 -#fi +if [ $? -ne 0 ]; then + # Print error message and exit + echo "${BOLD_PREFIX}${RED_PREFIX}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}" + exit -1 +fi #fixme The 10 second delay to start the project is for the docker-compose one-click to start openIM when the infrastructure dependencies are not started