Allow non-root access for updateGravity command

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2025-07-14 21:38:59 +01:00
parent 605ff8183a
commit d6a83baf4f
No known key found for this signature in database

2
pihole
View File

@ -552,7 +552,7 @@ case "${1}" in
"enable" ) need_root=0;;
"disable" ) need_root=0;;
"-d" | "debug" ) ;;
"-g" | "updateGravity" ) ;;
"-g" | "updateGravity" ) need_root=0;;
"reloaddns" ) ;;
"reloadlists" ) ;;
"setpassword" ) ;;