reply
if you run those commands in bash with `set -e` then the script will exit early when a command exits non-zero.
I often run: `set -euo noglob -o pipefail` which is a way of preventing cascading catastrophes with bash scripts.
reply