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

3
pihole
View File

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