feat: sync upstream

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
Gordon
2023-08-17 14:24:25 +08:00
6 changed files with 391 additions and 12 deletions
+2 -1
View File
@@ -102,7 +102,8 @@ for i in ${need_to_start_server_shell[*]}; do
./$i
# Check if the script executed successfully
if [ $? -ne 0 ]; then
if [ $? -ne
]; then
# Print error message and exit
echo "${BOLD_PREFIX}${RED_PREFIX}Error executing ${i}. Exiting...${COLOR_SUFFIX}"
exit -1