diff options
author | Bryan Drewery <bryan@shatow.net> | 2021-11-20 02:54:27 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2021-11-20 02:54:27 +0300 |
commit | dd3fe661d3f5f03df05879b90cbf03cbe0a0302c (patch) | |
tree | cd699cc12ec7ba742f7ccd6a1dac4c92fe798a49 | |
parent | 4d28d33870b5e777874f126e104eb0da001a84cd (diff) |
err: Don't show logs in failed $()
-rwxr-xr-x | src/share/poudriere/common.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 100f08b8..64d7f7af 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -112,7 +112,8 @@ _err() { if [ ${ERRORS_ARE_FATAL:-1} -eq 1 ]; then if was_a_bulk_run && [ -n "${POUDRIERE_BUILD_TYPE-}" ] && - [ "${PARALLEL_CHILD:-0}" -eq 0 ]; then + [ "${PARALLEL_CHILD:-0}" -eq 0 ] && + [ "$(getpid)" = "$$" ]; then show_build_summary >&2 show_log_info >&2 fi |