One approach would be to add set -e to the beginning of your script. That means (from help set ): -e Exit immediately if a command exits with a non-zero ...
確定! 回上一頁