diff options
author | Bryan Drewery <bryan@shatow.net> | 2021-08-23 08:09:30 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2022-11-10 07:58:31 +0300 |
commit | 55e596cb4c159384982320d1c5777b1c442454bd (patch) | |
tree | 19ee5ff179d42a76caabe709f4a1d6a0ceb58852 | |
parent | f3f13ee6e89c10ef363e6527bfcbb37ede3aea52 (diff) |
log_stop can run outside of bulk runs
-rwxr-xr-x | src/share/poudriere/common.sh | 2 |
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. |