Make bash scripts exit on error rather than continue (#23467)
This commit is contained in:
parent
0e8e472138
commit
341b0b469e
6 changed files with 9 additions and 4 deletions
|
@ -12,8 +12,7 @@ then
|
|||
exit
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -x
|
||||
set -ex
|
||||
|
||||
tmpdir=`mktemp -d 2>/dev/null || mktemp -d -t 'icontmp'`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue