fix: script update
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
@@ -102,8 +102,7 @@ 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
|
if [ $? -ne]; then
|
||||||
]; then
|
|
||||||
# Print error message and exit
|
# Print error message and exit
|
||||||
echo "${BOLD_PREFIX}${RED_PREFIX}Error executing ${i}. Exiting...${COLOR_SUFFIX}"
|
echo "${BOLD_PREFIX}${RED_PREFIX}Error executing ${i}. Exiting...${COLOR_SUFFIX}"
|
||||||
exit -1
|
exit -1
|
||||||
|
|||||||
Reference in New Issue
Block a user