1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-20 15:18:32 +00:00

Small bugfix

This commit is contained in:
DL6ER 2017-03-11 16:27:00 +01:00
parent febdb4a190
commit b961b13d60
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

@ -49,7 +49,7 @@ fetch_checkout_pull_branch() {
local branch="${2}"
# Check if branch exists locally
if git rev-parse --quiet --verify development &> /dev/null; then
if git rev-parse --quiet --verify "${branch}" &> /dev/null; then
# Branch exists locally, we can check it out and pull it
checkout_pull_branch "${directory}" "${branch}" || return 1
else