From 3ef78dd6418eca380cbfb919939581f3fca874cd Mon Sep 17 00:00:00 2001 From: Haralan Dobrev Date: Sat, 13 Aug 2022 16:40:40 +0300 Subject: [PATCH] Set best practice bash options in shell script --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index f662dd7..5d7a55b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -euxo pipefail + mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY mc mirror --overwrite $1 "deploy/$2"