|
|
|
|
|
by wodenokoto
640 days ago
|
|
> pipefail when nothing is being piped (pipefail is not a "fix" it is an option I think it’s pretty good hygiene to set pipefail in the beginning of every script, even if you end up not using any pipes. And at that point is it that important to go back and remove it only to then have to remember that you removed it once you add a pipe? |
|
Sometimes you should even be using PIPESTATUS instead.