Shift off checkout from being passed to script from pihole

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper
2017-03-08 13:57:35 -08:00
parent b522d8eaf6
commit b8f1eadb7f
2 changed files with 12 additions and 6 deletions

1
pihole
View File

@@ -281,6 +281,7 @@ tailFunc() {
piholeCheckoutFunc() {
source "${PI_HOLE_SCRIPT_DIR}"/piholeCheckout.sh
shift
checkout "$@"
}