We use set -e to halt a shell script if error occurs, and use set +e to turn it off.
set -e
set +e
My question is how to know the current status of this -