aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-13 00:47:26 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-13 00:47:26 -0400
commitcd1e140cc3649a39d0fb76921827990ae906bb5f (patch)
tree5737e96b1eeb21277c58acca57dc7b0d829dbd52
parentc0b323f82c05df962c26bfd476f1dddb1d6e3047 (diff)
downloadbw-atari8-tools-cd1e140cc3649a39d0fb76921827990ae906bb5f.tar.gz
diffbas: set -e to exit on 1st failed command.
-rwxr-xr-xdiffbas1
1 files changed, 1 insertions, 0 deletions
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