correcting exit code
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
This commit is contained in:
parent
51e9dcc9c9
commit
84b0ce6cca
@ -35,10 +35,9 @@ if [ $SERVER_OK -eq 1 ]; then
|
||||
|
||||
echo -e "${LIGHT_BLUE}[i] Running updated $FILE_NAME...${NC}"
|
||||
./$FILE_NAME
|
||||
exit 2
|
||||
exit 0
|
||||
else
|
||||
echo -e "${LIGHT_GREEN}[i] $FILE_NAME is already up to date.${NC}"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user