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
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 34561 Build 31655: arc lint + arc unit