Ubuntu Bash Script Sair quando erro

# exit when any command fails
set -e
Arno Deceuninck