diff --git a/services/git-monitor b/services/git-monitor index ed1d119..de3f2c0 100755 --- a/services/git-monitor +++ b/services/git-monitor @@ -68,8 +68,7 @@ check_for_updates() { if [ -z "$last_commit_hash" ] || [ "$current_commit_hash" != "$last_commit_hash" ]; then log_message "INFO" "New commits detected. Pulling..." - git -C "$GITMONITOR - _LOCAL_PATH/$repo_name" pull origin $GITMONITOR_BRANCH_NAME + git -C "$GITMONITOR_LOCAL_PATH/$repo_name" pull origin $GITMONITOR_BRANCH_NAME if [ $? -eq 0 ]; then log_message "INFO" "Pull successful."