correcting exit code
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s

This commit is contained in:
Jose Henrique 2024-12-28 21:59:33 -03:00
parent 51e9dcc9c9
commit 84b0ce6cca

View File

@ -35,10 +35,9 @@ if [ $SERVER_OK -eq 1 ]; then
echo -e "${LIGHT_BLUE}[i] Running updated $FILE_NAME...${NC}" echo -e "${LIGHT_BLUE}[i] Running updated $FILE_NAME...${NC}"
./$FILE_NAME ./$FILE_NAME
exit 2 exit 0
else else
echo -e "${LIGHT_GREEN}[i] $FILE_NAME is already up to date.${NC}" echo -e "${LIGHT_GREEN}[i] $FILE_NAME is already up to date.${NC}"
exit 0
fi fi
fi fi