mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-02 17:48:52 +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:
parent
d3ac8bb6f8
commit
d986da63a5
1 changed files with 1 additions and 1 deletions
2
pihole
2
pihole
|
@ -80,7 +80,7 @@ reconfigurePiholeFunc() {
|
|||
|
||||
updateGravityFunc() {
|
||||
"${PI_HOLE_SCRIPT_DIR}"/gravity.sh "$@"
|
||||
exit 0
|
||||
exit $?
|
||||
}
|
||||
|
||||
queryFunc() {
|
||||
|
|
Loading…
Add table
Reference in a new issue