mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-13 19:28:59 +00:00
Improve else condition of branch determination
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
0343171703
commit
401c029dc4
@ -132,11 +132,9 @@ getLocalBranch(){
|
||||
else
|
||||
echo "${branch} "
|
||||
fi
|
||||
elif [[ "${branch}" == "${DEFAULT}" ]]; then
|
||||
echo "ERROR"
|
||||
return 1
|
||||
else
|
||||
echo "No Checked out branch"
|
||||
# Branch started in "v"
|
||||
echo "release "
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user