fix: script update

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
Gordon 2023-08-17 17:42:30 +08:00
parent 32a2614039
commit d88e77868d

View File

@ -104,7 +104,7 @@ for i in ${need_to_start_server_shell[*]}; do
# Check if the script executed successfully # Check if the script executed successfully
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 ${i}. Exiting...${COLOR_SUFFIX}" echo "${RED_BOLD}Error executing ${i}. Exiting...${COLOR_SUFFIX}"
exit -1 exit -1
fi fi
done done