fix: script update

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
pull/887/head
Gordon 2 years ago
parent d88e77868d
commit 975b9ef62b

@ -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 "${RED_BOLD}Error executing ${i}. Exiting...${COLOR_SUFFIX}" echo -e"${RED_PREFIX}${BOLD_PREFIX}Error executing ${i}. Exiting...${COLOR_SUFFIX}"
exit -1 exit -1
fi fi
done done

@ -62,7 +62,6 @@ function style-info() {
BACKGROUND_LIGHT_SKY_BLUE="\033[106m" # Light sky blue background BACKGROUND_LIGHT_SKY_BLUE="\033[106m" # Light sky blue background
BACKGROUND_LIGHT_WHITE="\033[107m" # Light white background BACKGROUND_LIGHT_WHITE="\033[107m" # Light white background
RED_BOLD="\033[1;31m"
} }
style-info style-info
Loading…
Cancel
Save