[Piuparts-commits] [piuparts] 01/01: improve whitespaces in output
Holger Levsen
holger at layer-acht.org
Fri Mar 10 16:19:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 9fa19863950d667938c1a88f588b755b2e092b9a
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Mar 10 17:18:55 2017 +0100
improve whitespaces in output
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
master-bin/reschedule_oldest_logs.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/master-bin/reschedule_oldest_logs.in b/master-bin/reschedule_oldest_logs.in
index 0b69744..88b31ed 100755
--- a/master-bin/reschedule_oldest_logs.in
+++ b/master-bin/reschedule_oldest_logs.in
@@ -139,6 +139,8 @@ for SECTION in $SECTIONS ; do
find recycle/ -name '*.log' > $QUEUED
if [ -s $LOGS ] || [ -s $OBSOLETE ] || [ -s $EXPIRED ] || [ -s $QUEUED ] ; then
+ echo "#########################################################" >> $OUTPUT
+ echo >> $OUTPUT
RCOUNT=$(wc -l $LOGS | awk '{ print $1 }')
TOTAL=$(($TOTAL + $RCOUNT))
ECOUNT=$(wc -l $EXPIRED | awk '{ print $1 }')
@@ -162,8 +164,6 @@ for SECTION in $SECTIONS ; do
TOTAL_QUEUED=$(($TOTAL_QUEUED + $NUM_QUEUED))
echo "queued: $NUM_QUEUED$(is_recent idle.stamp || echo " not-idle")" >> $OUTPUT
echo >> $OUTPUT
- echo "#########################################################" >> $OUTPUT
- echo >> $OUTPUT
fi
cd $OLDPWD
done
@@ -192,6 +192,7 @@ fi
if [ "$TOTAL_QUEUED" -gt "0" ]; then
echo "Queued logs: $TOTAL_QUEUED"
fi
+echo
cat $OUTPUT
rm -f $OUTPUT
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list