fix: script update

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
Gordon 2023-08-17 17:45:03 +08:00
parent 975b9ef62b
commit 8c05b2771a

View File

@ -104,7 +104,7 @@ for i in ${need_to_start_server_shell[*]}; do
# Check if the script executed successfully
if [ $? -ne 0 ]; then
# Print error message and exit
echo -e"${RED_PREFIX}${BOLD_PREFIX}Error executing ${i}. Exiting...${COLOR_SUFFIX}"
echo -e "${RED_PREFIX}${BOLD_PREFIX}Error executing ${i}. Exiting...${COLOR_SUFFIX}"
exit -1
fi
done