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
path: root/src
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2021-11-17 10:22:11 +0300
committerBryan Drewery <bryan@shatow.net>2021-11-18 16:13:45 +0300
commitedfaf7ac03ac0cdb72018ab3d352299d3f223e1f (patch)
tree2f9a8951255e1d3e2998b78498581c91636a30e4 /src
parent56db4bb33ade710e200cab023059571cc449ca99 (diff)
Revert "pkgqueue_remaining: Unhide errors"
This reverts commit 6d3fe23c9e43b9469536f330ede5c0015fd9c89f. This is too racy with clean_pool() to not hide the errors from find.
Diffstat (limited to 'src')
-rw-r--r--src/share/poudriere/include/pkgqueue.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/include/pkgqueue.sh b/src/share/poudriere/include/pkgqueue.sh
index a8079331..db8ce4bc 100644
--- a/src/share/poudriere/include/pkgqueue.sh
+++ b/src/share/poudriere/include/pkgqueue.sh
@@ -310,7 +310,7 @@ pkgqueue_remaining() {
# Find items in queue not ready-to-build.
( cd "${MASTER_DATADIR}"; pkgqueue_list ) | \
sed -e 's,$, waiting-on-dependency,'
- } | sed -e 's,.*/,,'
+ } 2>/dev/null | sed -e 's,.*/,,'
}
# Return directory name for given job