mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Small bugfix
This commit is contained in:
parent
febdb4a190
commit
b961b13d60
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ fetch_checkout_pull_branch() {
|
||||||
local branch="${2}"
|
local branch="${2}"
|
||||||
|
|
||||||
# Check if branch exists locally
|
# 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
|
# Branch exists locally, we can check it out and pull it
|
||||||
checkout_pull_branch "${directory}" "${branch}" || return 1
|
checkout_pull_branch "${directory}" "${branch}" || return 1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue