Allow running pihole -g without root (run as user pihole)
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -912,7 +912,7 @@ gravity_ShowCount
|
||||
|
||||
# Determine if DNS has been restarted by this instance of gravity
|
||||
if [[ -z "${dnsWasOffline:-}" ]]; then
|
||||
"${PIHOLE_COMMAND}" restartdns reload
|
||||
"${PIHOLE_COMMAND}" reloaddns
|
||||
fi
|
||||
|
||||
gravity_Cleanup
|
||||
|
||||
Reference in New Issue
Block a user