Disturbing shell scripting fact for the day - both true
and echo ''
can exit non-zero. All you have to do end up in some esoteric edge case that results in a SIGPIPE being triggered.
Guess what I just spent the last thirty minutes of my life trying to figure out.
[#]bash #sh #linux
=> More informations about this toot | View the thread | More toots from arraybolt3@theres.life
=> View bash tag | View sh tag | View linux tag This content has been proxied by September (3851b).Proxy Information
text/gemini