From 9f538cc1fe34689b48822d2ac39c1562ea01d0eb Mon Sep 17 00:00:00 2001 From: Colin Saliceti Date: Tue, 11 Feb 2025 14:51:13 +0000 Subject: [PATCH] Add -o pipefail to konduit.sh The simple set -eu doesn't prevent failure when commands are piped to each other Add -o pipefail to detect failure even when using a pipe --- scripts/konduit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/konduit.sh b/scripts/konduit.sh index ca28fdc0..2bdb6a12 100755 --- a/scripts/konduit.sh +++ b/scripts/konduit.sh @@ -12,7 +12,7 @@ # Stop the script in case a command fails. Cleanup will still run # Fail when a variable is unexpectedly not set # If variable $VAR can be unset, use ${VAR:-} to provide a default "" value -set -eu +set -euo pipefail help() { echo