From 2af07850cd351c35c986f8d785df33de2e1eb6ab Mon Sep 17 00:00:00 2001 From: Austin Riba Date: Wed, 22 Oct 2025 13:11:54 -0700 Subject: [PATCH] Instruct bash to fail harder Instructs bash to abort executing the script if any commands return a non-zero exit code, also unmaks failures in piped commands. See https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425 for explanations of these options. --- make-tom.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/make-tom.sh b/make-tom.sh index 4c1abae..44080ec 100755 --- a/make-tom.sh +++ b/make-tom.sh @@ -1,5 +1,6 @@ #! /bin/sh +set -eo pipefail bold=$(tput bold) normal=$(tput sgr0)