News for hackers. Stuff that matters.
Re:Bash Pitfalls by rantwasp on Monday September 07, 2020 @04:53PM (#24402760)
set -euxo pipefail
Re:Bash Pitfalls by Rapzid on Tuesday September 08, 2020 @03:17AM (#24405953)
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.