mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-27 05:52:29 +08:00
fix: script update
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
parent
e6fd55555d
commit
fc243d321c
@ -85,7 +85,7 @@ echo -e ""
|
||||
./$component_check
|
||||
if [ $? -ne 0 ]; then
|
||||
# Print error message and exit
|
||||
echo -e "${RED_BOLD}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}"
|
||||
echo -e "${RED_PREFIX}${BOLD_PREFIX}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
@ -102,8 +102,7 @@ for i in ${need_to_start_server_shell[*]}; do
|
||||
./$i
|
||||
|
||||
# Check if the script executed successfully
|
||||
if [ $? -ne
|
||||
]; then
|
||||
if [ $? -ne 0]; then
|
||||
# Print error message and exit
|
||||
echo -e "${RED_PREFIX}${BOLD_PREFIX}Error executing ${i}. Exiting(please check open-im-server/logs/openIM.log)... ${COLOR_SUFFIX}"
|
||||
exit -1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user