From ae39e338fef3054e95eb6910b15e7d585195d4e2 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sat, 4 Dec 2021 10:50:21 +0100 Subject: [PATCH] Use exec to run gravity script (#4449) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- pihole | 3 +-- 1 file changed, 1 insertion(+), 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() {