3 ms·
set -e makes another pain for command that nonzero isn't mean failed (ex. diff). It changes semantics for whole script.
by fomine3 6y ago
set -e makes another pain for command that nonzero isn't mean failed (ex. diff). It changes semantics for whole script.
- atombender 6y agoIf by pain you mean you have to handle errors, yes, that's what you have to do. It's no different from checking the return code of functions in C.