3 ms·
I like to use these in combination with set -e and report the error that happened to whatever is capturing stdout for logging. You can report the error code wi
by JohnMakin 3y ago
I like to use these in combination with set -e and report the error that happened to whatever is capturing stdout for logging.
You can report the error code with $? at the start of your trap, IIRC.