add set -e

This commit is contained in:
Maximilian Keßler 2022-02-16 12:23:53 +01:00
parent eba528fa9d
commit d4147d6c76

View file

@ -1,4 +1,7 @@
#!/bin/bash
set -e # Exit with error code if subcommand does
# safety first
if [[ $(pwd) == *template* ]]
then