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/share
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2014-04-23 03:22:10 +0400
committerBryan Drewery <bryan@shatow.net>2014-04-23 03:22:10 +0400
commit2563a40edc9ba78f1a2da2507a7b4cb24696c3c6 (patch)
treeb56760fb0fa0d7293e311b6db32087659f462aeb /src/share
parent869147e84e7802bc0785e798ba483bfe8656722f (diff)
SIGINFO: Reorder to match status
Diffstat (limited to 'src/share')
-rwxr-xr-xsrc/share/poudriere/common.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index 30c6bd80..15bb71c0 100755
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -432,8 +432,8 @@ siginfo_handler() {
local status=$(bget status 2> /dev/null || echo unknown)
local nbb=$(bget stats_built 2>/dev/null || echo 0)
local nbf=$(bget stats_failed 2>/dev/null || echo 0)
- local nbi=$(bget stats_ignored 2>/dev/null || echo 0)
local nbs=$(bget stats_skipped 2>/dev/null || echo 0)
+ local nbi=$(bget stats_ignored 2>/dev/null || echo 0)
local nbq=$(bget stats_queued 2>/dev/null || echo 0)
local ndone=$((nbb + nbf + nbi + nbs))
local queue_width=2
@@ -453,8 +453,8 @@ siginfo_handler() {
queue_width=3
fi
- printf "[${MASTERNAME}] [${status}] [%0${queue_width}d/%0${queue_width}d] Built: %-${queue_width}d Failed: %-${queue_width}d Ignored: %-${queue_width}d Skipped: %-${queue_width}d \n" \
- ${ndone} ${nbq} ${nbb} ${nbf} ${nbi} ${nbs}
+ printf "[${MASTERNAME}] [${status}] [%0${queue_width}d/%0${queue_width}d] Built: %-${queue_width}d Failed: %-${queue_width}d Skipped: %-${queue_width}d Ignored: %-${queue_width}d \n" \
+ ${ndone} ${nbq} ${nbb} ${nbf} ${nbs} ${nbi}
# Skip if stopping or starting jobs
if [ -n "${JOBS}" -a "${status#starting_jobs:}" = "${status}" -a "${status}" != "stopping_jobs:" ]; then