From 51777df36c459d6a90681cb000b95286d2b5acc9 Mon Sep 17 00:00:00 2001 From: Manuel Mendez Date: Tue, 27 Apr 2021 18:10:31 +0000 Subject: [PATCH] setup: Add xtrace and pipefail to set options pipefail for more safety and xtrace for better debuggability. The missing xtrace here is likely what led to the docker-compose issue going unfixed for so long as the last bit of output was from the gencerts container and did not make any sense (because it wasn't the issue :D ). Signed-off-by: Manuel Mendez --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index bedf3ca..50e0621 100755 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # stops the execution if a command or pipeline has an error -set -eu +set -euxo pipefail # Tinkerbell stack Linux setup script #