Fix ARP flush command (#5823)

This commit is contained in:
Dominik 2024-12-07 13:37:34 +01:00 committed by GitHub
commit 76a6b42075
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ flushARP(){
fi
# Stop FTL to prevent database access
if ! output=$(pihole-FTL service stop 2>&1); then
if ! output=$(service pihole-FTL stop 2>&1); then
echo -e "${OVER} ${CROSS} Failed to stop FTL"
echo " Output: ${output}"
return 1
@ -64,7 +64,7 @@ flushARP(){
fi
# Start FTL again
if ! output=$(pihole-FTL service restart 2>&1); then
if ! output=$(service pihole-FTL restart 2>&1); then
echo -e "${OVER} ${CROSS} Failed to restart FTL"
echo " Output: ${output}"
return 1