Re:Why doesn't Bash's `set -e` do what I expected?
by stevebmark on Saturday October 08, 2022 @02:00PM
(#33134475)
I don't mean what it returns, I mean that returning non-zero trips up Bash into thinking it's a non-successful error code. The fact that doing math can trip up error detection implies a fundamental design flaw of the system. Which, I mean, we're in Bash, of course it's poorly designed. I didn't know it was quite this bad though.
[ Parent
| on HN ]
There are no comments on this comment yet.