Signed-off-by: Laurent Bercot <[email protected]>
@@ -32,10 +32,7 @@ fi
if test "$#" -ne 0 ; then
set +e
arg0=`printcontenv S6_CMD_ARG0`
- $arg0 "$@" &
- pid=$!
- echo "$pid" > /run/s6-linux-init-container-results/pid
- wait "$pid"
+ $arg0 "$@"
echo "$?" > /run/s6-linux-init-container-results/exitcode
set -e
exec /run/s6/basedir/bin/halt