1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00

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() {
"${PI_HOLE_SCRIPT_DIR}"/gravity.sh "$@"
exit $?
exec "${PI_HOLE_SCRIPT_DIR}"/gravity.sh "$@"
}
queryFunc() {