From cd1e140cc3649a39d0fb76921827990ae906bb5f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 13 Jul 2024 00:47:26 -0400 Subject: diffbas: set -e to exit on 1st failed command. --- diffbas | 1 + 1 file changed, 1 insertion(+) (limited to 'diffbas') diff --git a/diffbas b/diffbas index 3a29956..ef621e5 100755 --- a/diffbas +++ b/diffbas @@ -47,6 +47,7 @@ dir="$( mktemp -d -t diffbas.XXXXXXXXXX )" [ -d "$dir" ] cd "$dir" trap cleanup EXIT +set -e listbas $listbasopts "$file1" > $base1 listbas $listbasopts "$file2" > $base2 -- cgit v1.2.3