Re:Bash Pitfalls
by rantwasp on Monday September 07, 2020 @04:53PM
(#24402760)
set -euxo pipefail
[ Parent
| on HN ]
Ahh, errexit:
unless
the command that fails is part of an until or while loop, part of an
if statement, part of a && or || list, or if the command's return status
is being inverted using !.
All hope is lost.
Re:Bash Pitfalls
by ed25519FUUU on Monday September 07, 2020 @08:28PM
(#24404095)
Every script. Good enough.