Fix s6-overlay format error #29
@ -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
|
@ -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
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user