chore: make update-server.sh safe for crontab (reboot) usage

This commit is contained in:
mARTin 2026-02-27 09:32:41 +01:00
parent 8d2134b83d
commit f4ae9f85aa

View File

@ -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