mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Use exec to run gravity script (#4449)
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
4c267f7732
commit
ae39e338fe
1 changed files with 1 additions and 2 deletions
3
pihole
3
pihole
|
@ -71,8 +71,7 @@ reconfigurePiholeFunc() {
|
||||||
}
|
}
|
||||||
|
|
||||||
updateGravityFunc() {
|
updateGravityFunc() {
|
||||||
"${PI_HOLE_SCRIPT_DIR}"/gravity.sh "$@"
|
exec "${PI_HOLE_SCRIPT_DIR}"/gravity.sh "$@"
|
||||||
exit $?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
queryFunc() {
|
queryFunc() {
|
||||||
|
|
Loading…
Reference in a new issue