From 5e81dc3ebad95d64f69a14abeaf5f03ff98656a6 Mon Sep 17 00:00:00 2001 From: "Guillaume B.B. Van Hemmen" Date: Fri, 27 Dec 2024 13:47:26 +0100 Subject: [PATCH] #0000 - Set bash script to fail on error without printing commands Removed the `-x` flag from `set` to prevent printing each command during execution, improving log readability. The script will still terminate on errors with the `-e` flag. --- scripts/00_install_metalLB.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/00_install_metalLB.sh b/scripts/00_install_metalLB.sh index 52e0375..631cac9 100755 --- a/scripts/00_install_metalLB.sh +++ b/scripts/00_install_metalLB.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -ex +set -e helm repo add metallb https://metallb.github.io/metallb helm repo update