Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2021-11-20 02:54:27 +0300
committerBryan Drewery <bryan@shatow.net>2021-11-20 02:54:27 +0300
commitdd3fe661d3f5f03df05879b90cbf03cbe0a0302c (patch)
treecd699cc12ec7ba742f7ccd6a1dac4c92fe798a49
parent4d28d33870b5e777874f126e104eb0da001a84cd (diff)
err: Don't show logs in failed $()
-rwxr-xr-xsrc/share/poudriere/common.sh3
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