From 84b0ce6cca46d5dc56768475aed40fbb39067058 Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Sat, 28 Dec 2024 21:59:33 -0300 Subject: [PATCH] correcting exit code --- docker-updater.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-updater.sh b/docker-updater.sh index cde1d70..585c6f6 100644 --- a/docker-updater.sh +++ b/docker-updater.sh @@ -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