4 ms·
Is there a way to determine whether the exit occurred due to the bash script finishing successfully, or due to an error (via set -o errexit)?
by pavel_lishin 13y ago
Is there a way to determine whether the exit occurred due to the bash script finishing successfully, or due to an error (via set -o errexit)?
- jacquesm 13y agoYou could trap the error.