You're looking for set -eo pipefail . Add that after the first ( #!/bin/bash ) line and your script will fail if any part of your script fails.
確定! 回上一頁