Closed oehrlis closed 1 year ago
Define a bunch of bash option see https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
set -o nounset # stop script after 1st cmd failed set -o errexit # exit when 1st unset variable found set -o pipefail # pipefail exit after 1st piped commands failed
add bash set as mentioned for all scripts
Define a bunch of bash option see https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html