MrMeeb 02f9dbc024
All checks were successful
Test Pull Request / Build Image (pull_request) Successful in 4m43s
Test Pull Request / Notify (pull_request) Successful in 3s
Only pipe exit code to container exit code if ONE_SHOT=false
2024-06-15 15:41:26 +00:00

9 lines
195 B
Plaintext

#!/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