add set -e
This commit is contained in:
parent
eba528fa9d
commit
d4147d6c76
1 changed files with 3 additions and 0 deletions
3
init.sh
3
init.sh
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e # Exit with error code if subcommand does
|
||||||
|
|
||||||
# safety first
|
# safety first
|
||||||
if [[ $(pwd) == *template* ]]
|
if [[ $(pwd) == *template* ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue