Fix s6-overlay format error #29

Merged
MrMeeb merged 3 commits from fix/s6-exec-format-error into master 2024-06-15 15:55:19 +00:00
3 changed files with 20 additions and 3 deletions

View File

@ -4,6 +4,7 @@
if [ $ONE_SHOT == "true" ]; then
# Cleanly kill container by sending kill signal to supervisor process
kill 1
echo 0 > /run/s6-linux-init-container-results/exitcode
/run/s6/basedir/bin/halt
fi

View File

@ -1 +1,9 @@
echo "$e" > /run/s6-linux-init-container-results/exitcode
#!/command/with-contenv bash
# shellcheck shell=bash
if [ $ONE_SHOT == "false" ]; then
# Export exit code if not a ONE_SHOT
echo "$e" > /run/s6-linux-init-container-results/exitcode
fi

View File

@ -1 +1,9 @@
echo "$e" > /run/s6-linux-init-container-results/exitcode
#!/command/with-contenv bash
# shellcheck shell=bash
if [ $ONE_SHOT == "false" ]; then
# Export exit code if not a ONE_SHOT
echo "$e" > /run/s6-linux-init-container-results/exitcode
fi