Describe the Improvement:
Want to have added security in our bash scripts, so we should start them by setting some flags -e and -u
Steps:
- Add
set -eu to each bash script
Additional Context and Links:
https://cuddly-octo-palm-tree.com/posts/2021-01-24-bash-set-dash-u/
Testing:
It might, but that’s okay it will also help reduce bugs