You can solve this by adding set -e to the top of the shell script: #!/bin/bash set -e touch newfile cp newfil newfile2 # Deliberate typo, ...
確定! 回上一頁