Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pihole
diff options
context:
space:
mode:
authoryubiuser <ckoenig@posteo.de>2021-12-04 12:50:21 +0300
committerGitHub <noreply@github.com>2021-12-04 12:50:21 +0300
commitae39e338fef3054e95eb6910b15e7d585195d4e2 (patch)
tree5d8c9de0433292394a6949219dcf13a8fe2e85b8 /pihole
parent4c267f7732c982e680568b5fa208cc4c0e8ec611 (diff)
Use exec to run gravity script (#4449)
Signed-off-by: Christian König <ckoenig@posteo.de>
Diffstat (limited to 'pihole')
-rwxr-xr-xpihole3
1 files changed, 1 insertions, 2 deletions
diff --git a/pihole b/pihole
index 4f1b95eb..055bd702 100755
--- a/pihole
+++ b/pihole
@@ -71,8 +71,7 @@ reconfigurePiholeFunc() {
}
updateGravityFunc() {
- "${PI_HOLE_SCRIPT_DIR}"/gravity.sh "$@"
- exit $?
+ exec "${PI_HOLE_SCRIPT_DIR}"/gravity.sh "$@"
}
queryFunc() {