http://www.gnu.org/software/bash/manual/bashref.html The exit status of a pipeline is the exit status of the last command in the pipeline, unless the pipefail option is enabled (see The Set Builtin). If pipefail is enabled, the pipeline's return status is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands exit successfully. Change-Id: I708c3a48084e97ab2fc6186dfdd666e7f5ab5ee6changes/82/36982/1
parent
2b9e6a8528
commit
fea1a3cdc9
Loading…
Reference in new issue