From 392c96baec43626d2d1ab84e148fa16c7aac912a Mon Sep 17 00:00:00 2001 From: Kiss Miklos Date: Sun, 16 Oct 2022 23:08:08 +0200 Subject: [PATCH] set pipefail Signed-off-by: Kiss Miklos --- contrib/scripts/orphan-clean-up/orphan_cleanup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/scripts/orphan-clean-up/orphan_cleanup.sh b/contrib/scripts/orphan-clean-up/orphan_cleanup.sh index a5938fd445..6ffe4737fb 100755 --- a/contrib/scripts/orphan-clean-up/orphan_cleanup.sh +++ b/contrib/scripts/orphan-clean-up/orphan_cleanup.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -euo pipefail + # Cleanes up orphaned entities for the provided Backstage URL, defaults to the local backend BACKSTAGE_URL=${1:-'http://localhost:7007'} echo $BACKSTAGE_URL