set bash option '-e'

-e: 'Exit immediately if a command exits with a non-zero status.'