fix: script update

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

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

Loading…
Cancel
Save