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
|
@ -25,6 +25,8 @@
|
|||
# all phonenumber.js-supported country flags (as SVGs) into
|
||||
# PNGs that can be used by CountryDropdown.js.
|
||||
|
||||
set -e
|
||||
|
||||
# Allow CTRL+C to terminate the script
|
||||
trap "echo Exited!; exit;" SIGINT SIGTERM
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue