Use exec to run gravity script (#4449)

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
yubiuser 2021-12-04 10:50:21 +01:00 committed by GitHub
parent 4c267f7732
commit ae39e338fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
pihole
View file

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