Dont use `exit 1` if the script will be sourced.