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-08-23 08:09:30 +0300
committerBryan Drewery <bryan@shatow.net>2022-11-10 07:58:31 +0300
commit55e596cb4c159384982320d1c5777b1c442454bd (patch)
tree19ee5ff179d42a76caabe709f4a1d6a0ceb58852
parentf3f13ee6e89c10ef363e6527bfcbb37ede3aea52 (diff)
log_stop can run outside of bulk runs
-rwxr-xr-xsrc/share/poudriere/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index 305555fa..23171b03 100755
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -1326,8 +1326,8 @@ exit_handler() {
# file in the jail like builders.pipe on socket 6.
exec </dev/null
+ log_stop
if was_a_bulk_run; then
- log_stop
# build_queue may have done cd MASTER_DATADIR/pool,
# but some of the cleanup here assumes we are
# PWD=MASTER_DATADIR. Switch back if possible.