From 8cca3ec3b99b9c69eda7c0d6209ac51fef138d58 Mon Sep 17 00:00:00 2001 From: Scion Date: Sun, 30 Apr 2023 14:40:22 -0700 Subject: [PATCH] test --- itchio/butler/entrypoint.sh | 1 + minio/mc/entrypoint.sh | 1 + 2 files changed, 2 insertions(+) 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"