add exec to with-contenv wrapper
This commit is contained in:
parent
8c74607acc
commit
95a775a423
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue