Fix missed start_service -> restart_service call

start_service was changed to restart_service.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12 2019-02-02 10:19:44 -08:00
parent fb3d871553
commit 5c4ee23795
No known key found for this signature in database
GPG Key ID: ABB8FC9789AF524D
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ checkout() {
echo " ${TICK} Branch ${2} exists" echo " ${TICK} Branch ${2} exists"
echo "${2}" > /etc/pihole/ftlbranch echo "${2}" > /etc/pihole/ftlbranch
FTLinstall "${binary}" FTLinstall "${binary}"
start_service pihole-FTL restart_service pihole-FTL
enable_service pihole-FTL enable_service pihole-FTL
else else
echo " ${CROSS} Requested branch \"${2}\" is not available" echo " ${CROSS} Requested branch \"${2}\" is not available"