tamalsaha / learn-bash

0 stars 0 forks source link

How to disable an option with a bash script? #37

Open tamalsaha opened 2 years ago

tamalsaha commented 2 years ago

https://www.systutorials.com/how-to-disable-an-option-with-a-bash-script/

Change - to + to do the reverse thing of unseting an option in bash. For example, to unset the errexit option set by set -o errexit:

set +o errexit