From 926b5e5fa24f7eac5fc98a7a247e4c4576407cad Mon Sep 17 00:00:00 2001
From: aptalca <aptalca@linuxserver.io>
Date: Sun, 31 May 2020 23:31:12 -0400
Subject: [PATCH] add exec to with-contenv wrapper

---
 root/usr/bin/with-contenv | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/root/usr/bin/with-contenv b/root/usr/bin/with-contenv
index dff4e6a..b535def 100755
--- a/root/usr/bin/with-contenv
+++ b/root/usr/bin/with-contenv
@@ -1,7 +1,7 @@
 #! /bin/bash
 if [[ -f /var/run/s6/container_environment/UMASK ]] && [[ "$(pwdx $$)" =~ "/run/s6/services/" ]]; then
   umask $(cat /var/run/s6/container_environment/UMASK)
-  /usr/bin/with-contenvb "$@"
+  exec /usr/bin/with-contenvb "$@"
 else
-  /usr/bin/with-contenvb "$@"
+  exec /usr/bin/with-contenvb "$@"
 fi
-- 
GitLab