Add missing pull

This commit is contained in:
2025-09-21 02:40:32 +02:00
parent 43ce6efd43
commit 474c027d6d

View File

@@ -68,7 +68,7 @@ check_for_updates() {
if [ -z "$last_commit_hash" ] || [ "$current_commit_hash" != "$last_commit_hash" ]; then if [ -z "$last_commit_hash" ] || [ "$current_commit_hash" != "$last_commit_hash" ]; then
log_message "INFO" "New commits detected. Pulling..." log_message "INFO" "New commits detected. Pulling..."
git -C "$REPO_LOCAL_PATH/$repo_name" checkout $BRANCH_NAME git -C "$REPO_LOCAL_PATH/$repo_name" pull origin $BRANCH_NAME
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
log_message "INFO" "Pull successful." log_message "INFO" "Pull successful."