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