3 ms·
proprotip: in the beginning of your scripts put: set -e # stop script if error set -u # stop with undefined var set -o pipefail # stop with pipe fail Now you
by neves 6y ago
proprotip:
in the beginning of your scripts put:
set -e # stop script if error
set -u # stop with undefined var
set -o pipefail # stop with pipe fail
Now your scripts will have a sane default behavior