Re:Linux distros without systemd
by tetha on Monday May 20, 2019 @01:58PM
(#19963123)
Not just -u - always <set -euo pipefail> unless you have a good reason. Fail on non-zero exit code outside of some special cases, undefined variables, and non-zero exit codes in a pipeline. And always use shellcheck, shellcheck is too good not to use tbh.
[ Parent
| on HN ]
There are no comments on this comment yet.