mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-19 04:37:01 +08:00
815
Signed-off-by: hanzhixiao <709674996@qq.com>
This commit is contained in:
parent
176cae0a6d
commit
54cedc67dc
@ -82,7 +82,7 @@ echo -e ""
|
|||||||
chmod +x $component_check
|
chmod +x $component_check
|
||||||
echo -e "=========> ${BACKGROUND_GREEN}Executing ${component_check}...${COLOR_SUFFIX}"
|
echo -e "=========> ${BACKGROUND_GREEN}Executing ${component_check}...${COLOR_SUFFIX}"
|
||||||
echo -e ""
|
echo -e ""
|
||||||
./start_component_check.sh
|
./$component_check
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
# Print error message and exit
|
# Print error message and exit
|
||||||
echo "${BOLD_PREFIX}${RED_PREFIX}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}"
|
echo "${BOLD_PREFIX}${RED_PREFIX}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}"
|
||||||
|
|||||||
@ -35,7 +35,7 @@ cmd="./${component_check}"
|
|||||||
echo "==========================start components checking===========================">>$OPENIM_ROOT/logs/openIM.log
|
echo "==========================start components checking===========================">>$OPENIM_ROOT/logs/openIM.log
|
||||||
$cmd
|
$cmd
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -nq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user