This can be done, for example, by appending || exit 1 to lines that must succeed for the script to continue, or by using set -e (perhaps beware of set -e ?). If ...
確定! 回上一頁