Remove another line break
This commit is contained in:
@@ -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."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user