Closed ltclm closed 7 years ago
its a good practice to add set -e and set -u on top of the bash script. it will make the script stop if there is some error or unbound variable p.e. $1 not set.
set -e
set -u
its a good practice to add
set -e
andset -u
on top of the bash script. it will make the script stop if there is some error or unbound variable p.e. $1 not set.