After entering set -e in an interactive bash shell, bash will exit immediately if any command exits with non-zero. How can I undo this effect?
set -e
Using + rather than - causes these flags to be turned off.
Source