Merge pull request #2609 from pi-hole/fix/start-service-ftl-checkout

Fix missed start_service -> restart_service call
This commit is contained in:
Adam Warner 2019-02-02 18:27:09 +00:00 committed by GitHub
commit d43c32e9e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"