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>2014-04-24 02:27:34 +0400
committerBryan Drewery <bryan@shatow.net>2014-04-24 02:27:34 +0400
commit36cb6e773727e0a6f4f4f0b78bc1cbe688f3730d (patch)
treed84b1dcc5720af0fb0165a1b589e287c34192369
parent8b477ef6e31e51d62bc23a556528540808b673f5 (diff)
status: Use jail_runs() instead of looking for ref/ dir, fixes stale builds showing
-rwxr-xr-xsrc/share/poudriere/status.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/share/poudriere/status.sh b/src/share/poudriere/status.sh
index 388d726a..e7b0580a 100755
--- a/src/share/poudriere/status.sh
+++ b/src/share/poudriere/status.sh
@@ -136,9 +136,7 @@ else
esac
MASTERNAME=${mastermnt#${POUDRIERE_DATA}/logs/bulk/}
# Skip non-running on ALL=0
- [ ${ALL} -eq 0 ] && \
- ! [ -d "${POUDRIERE_DATA}/build/${MASTERNAME}/ref" ] && \
- continue
+ [ ${ALL} -eq 0 ] && ! jail_runs ${MASTERNAME} && continue
# Dereference latest into actual buildname
BUILDNAME="$(BUILDNAME="${ORIG_BUILDNAME}" bget buildname 2>/dev/null || :)"
# No matching build, skip.