Compare commits
No commits in common. "02f9dbc024094584481c4672193d1288e0bdd3ee" and "2962b4549689da2520837b7ad713cdcb4efeff9a" have entirely different histories.
02f9dbc024
...
2962b45496
@ -4,7 +4,6 @@
|
|||||||
if [ $ONE_SHOT == "true" ]; then
|
if [ $ONE_SHOT == "true" ]; then
|
||||||
|
|
||||||
# Cleanly kill container by sending kill signal to supervisor process
|
# Cleanly kill container by sending kill signal to supervisor process
|
||||||
echo 0 > /run/s6-linux-init-container-results/exitcode
|
kill 1
|
||||||
/run/s6/basedir/bin/halt
|
|
||||||
|
|
||||||
fi
|
fi
|
@ -1,9 +1 @@
|
|||||||
#!/command/with-contenv bash
|
echo "$e" > /run/s6-linux-init-container-results/exitcode
|
||||||
# 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,9 +1 @@
|
|||||||
#!/command/with-contenv bash
|
echo "$e" > /run/s6-linux-init-container-results/exitcode
|
||||||
# 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