Bookend setup.sh with `set -e`/`unset -e`
Created by: julianhess
If any tasks fail during setup.sh (e.g. permissions errors resulting from streaming a file into a FIFO or delayed localization), the Canine task should fail.
We don't want to add set -e
to the entirety of entrypoint.sh
since we want teardown.sh
to run even if the script itself has a nonzero exit code.