diff --git a/itchio/butler/entrypoint.sh b/itchio/butler/entrypoint.sh index a41f34d..aa6a574 100644 --- a/itchio/butler/entrypoint.sh +++ b/itchio/butler/entrypoint.sh @@ -1,6 +1,7 @@ #!/bin/bash ARGS="$@" +set -o pipefail exec 5>&1 OUTPUT=$(bash -c "butler $ARGS" | tee /dev/fd/5) RESULT=$? diff --git a/minio/mc/entrypoint.sh b/minio/mc/entrypoint.sh index 53ee08a..e8482b7 100644 --- a/minio/mc/entrypoint.sh +++ b/minio/mc/entrypoint.sh @@ -1,6 +1,7 @@ #!/bin/sh ARGS="$@" +set -o pipefail MC_CONFIG_DIR="/root/.mc" mkdir -p "$MC_CONFIG_DIR"