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

View file

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