Use exec to run gravity script (#4449)

Signed-off-by: Christian König <ckoenig@posteo.de>
pull/4476/head
yubiuser 2 years ago committed by GitHub
parent 4c267f7732
commit ae39e338fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save