Merge pull request 'Add usage information' (#4) from develop into main

Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2026-07-23 18:45:48 +00:00
+1 -2
View File
@@ -68,8 +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 "$GITMONITOR git -C "$GITMONITOR_LOCAL_PATH/$repo_name" pull origin $GITMONITOR_BRANCH_NAME
_LOCAL_PATH/$repo_name" pull origin $GITMONITOR_BRANCH_NAME
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
log_message "INFO" "Pull successful." log_message "INFO" "Pull successful."