|
|
@ -102,7 +102,8 @@ for i in ${need_to_start_server_shell[*]}; do
|
|
|
|
./$i
|
|
|
|
./$i
|
|
|
|
|
|
|
|
|
|
|
|
# Check if the script executed successfully
|
|
|
|
# Check if the script executed successfully
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
if [ $? -ne
|
|
|
|
|
|
|
|
]; then
|
|
|
|
# Print error message and exit
|
|
|
|
# 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}"
|
|
|
|
echo -e "${RED_PREFIX}${BOLD_PREFIX}Error executing ${i}. Exiting(please check open-im-server/logs/openIM.log)... ${COLOR_SUFFIX}"
|
|
|
|
exit -1
|
|
|
|
exit -1
|
|
|
|