Skip to content
Snippets Groups Projects
Commit 926b5e5f authored by aptalca's avatar aptalca Committed by Ryan Kuba
Browse files

add exec to with-contenv wrapper

parent 3bd2afea
No related branches found
No related tags found
No related merge requests found
#! /bin/bash #! /bin/bash
if [[ -f /var/run/s6/container_environment/UMASK ]] && [[ "$(pwdx $$)" =~ "/run/s6/services/" ]]; then if [[ -f /var/run/s6/container_environment/UMASK ]] && [[ "$(pwdx $$)" =~ "/run/s6/services/" ]]; then
umask $(cat /var/run/s6/container_environment/UMASK) umask $(cat /var/run/s6/container_environment/UMASK)
/usr/bin/with-contenvb "$@" exec /usr/bin/with-contenvb "$@"
else else
/usr/bin/with-contenvb "$@" exec /usr/bin/with-contenvb "$@"
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment