1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-21 13:30:56 +00:00

Pass gravity exit code back to caller to allow for cron error handling

Signed-off-by: jeremysherriff <jeremysherriff@gmail.com>
This commit is contained in:
jeremysherriff 2018-10-19 18:27:35 +13:00 committed by Jeremy Sherriff
parent d3ac8bb6f8
commit d986da63a5

2
pihole
View File

@ -80,7 +80,7 @@ reconfigurePiholeFunc() {
updateGravityFunc() {
"${PI_HOLE_SCRIPT_DIR}"/gravity.sh "$@"
exit 0
exit $?
}
queryFunc() {