set pipefail changes the pipeline return status from being the return
status of the last command to the last non 0 exit status of any command
in the pipeline. This is needed to make sure all the commands in a
pipeline did actually return a non 0 status and not only the last one.
Details
Details
- Reviewers
bapt - Group Reviewers
portmgr - Commits
- rP554894: Ignore grep return value.
rP554893: Add set pipefail in most framework scripts.
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable