Use set -euo pipefail
in the beginning of your bash files. Here is a comic explaining why: https://wizardzines.com/comics/bash-errors/
Published on: 2023-04-17
Use set -euo pipefail
in the beginning of your bash files. Here is a comic explaining why: https://wizardzines.com/comics/bash-errors/