SyntaxFix
Write A Post
Hire A Developer
Questions
Instead of "returning true", you can also use the "noop" or null utility (as referred in the POSIX specs) : and just "do nothing". You'll save a few letters. :)
:
#!/usr/bin/env bash set -e man nonexistentghing || : echo "It's ok.."