mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
We should really use stop_service as it also includes some nice output
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
e8dabc71af
commit
ec79e86bee
@ -2179,9 +2179,7 @@ FTLinstall() {
|
||||
printf "transferred... "
|
||||
|
||||
# Stop pihole-FTL service if available
|
||||
# Allow failing without tripping set -e as the
|
||||
# service might not be available (e.g. on first install)
|
||||
service pihole-FTL stop > /dev/null 2>&1 || true
|
||||
stop_service pihole-FTL &> /dev/null
|
||||
|
||||
# Install the new version with the correct permissions
|
||||
install -T -m 0755 "${binary}" /usr/bin/pihole-FTL
|
||||
|
Loading…
Reference in New Issue
Block a user