diff options
author | Bryan Drewery <bryan@shatow.net> | 2014-04-23 03:20:27 +0400 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2014-04-23 03:20:27 +0400 |
commit | 0774ef2ff9f432a6c61503d296cff53883f8b7e9 (patch) | |
tree | 47a2be86dccde93b7100214ab73bb41cfba000b7 /src/share | |
parent | 26d51af4cbe71e5a63f9774345efa695f1093dc2 (diff) |
testport: Fix queued count being off by 1
MFH
Diffstat (limited to 'src/share')
-rwxr-xr-x | src/share/poudriere/common.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 67c053b3..30c6bd80 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -3180,6 +3180,7 @@ prepare_ports() { if was_a_bulk_run && [ $resuming_build -eq 0 ]; then nbq=0 nbq=$(find ${MASTERMNT}/poudriere/deps -type d -depth 1 | wc -l) + [ "${0##*/}" = "testport.sh" ] && nbq=$((${nbq} + 1)) bset stats_queued ${nbq##* } fi |