Fix: mod_ssh auto_pull missing variable

This commit is contained in:
mrjk 2018-03-01 08:37:23 -05:00
parent eb51c1e485
commit c5e6962ef9

View File

@ -511,7 +511,7 @@ idm_git_pull_most_recent ()
fi fi
# Apply changes to most recent branch # Apply changes to most recent branch
branch=$( sed -e 's@remotes/@@' -e 's@/@ @' ) branch=$( sed -e 's@remotes/@@' -e 's@/@ @' <<< "$most_recent" )
lib_git git pull $branch || lib_git git pull $branch ||
lib_log ERR "Could not update branch" lib_log ERR "Could not update branch"