Use set -o errexit at the start of your script. So that when a command fails, bash exits instead of continuing with the rest of the script.
確定! 回上一頁