diff options
author | Bryan Drewery <bryan@shatow.net> | 2014-04-23 03:22:10 +0400 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2014-04-23 03:22:10 +0400 |
commit | 2563a40edc9ba78f1a2da2507a7b4cb24696c3c6 (patch) | |
tree | b56760fb0fa0d7293e311b6db32087659f462aeb | |
parent | 869147e84e7802bc0785e798ba483bfe8656722f (diff) |
SIGINFO: Reorder to match status
-rwxr-xr-x | src/share/poudriere/common.sh | 6 |
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 |