From f4ae9f85aa488a02493429d8afb0b9531c041f43 Mon Sep 17 00:00:00 2001 From: mARTin Date: Fri, 27 Feb 2026 09:32:41 +0100 Subject: [PATCH] chore: make update-server.sh safe for crontab (reboot) usage --- scripts/update-server.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update-server.sh b/scripts/update-server.sh index 4a1652c..ea50031 100755 --- a/scripts/update-server.sh +++ b/scripts/update-server.sh @@ -7,6 +7,7 @@ YELLOW='\033[1;33m' NC='\033[0m' echo -e "${YELLOW}Step 1: Pulling latest changes from GitHub (main)...${NC}" +cd /root/My-Weekly-ToDo-List git checkout main git pull origin main