[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51
Andreas Beckmann
anbe at debian.org
Wed May 15 10:09:42 UTC 2013
The following commit has been merged in the master branch:
commit e8b196eedaf990526d011d369507adf547157d77
Author: Andreas Beckmann <anbe at debian.org>
Date: Fri Apr 5 15:18:30 2013 +0200
reschedule_oldest_logs: be more verbose in the per section counts
"1/2/3"
is harder to read than
"1 rescheduled, 2 expired, 3 obsolete"
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/master-bin/reschedule_oldest_logs.in b/master-bin/reschedule_oldest_logs.in
index ca531e0..8714ce7 100755
--- a/master-bin/reschedule_oldest_logs.in
+++ b/master-bin/reschedule_oldest_logs.in
@@ -110,7 +110,7 @@ for SECTION in $SECTIONS ; do
TOTAL_EXPIRED=$(($TOTAL_EXPIRED + $ECOUNT))
UCOUNT=$(wc -l $OBSOLETE | awk '{ print $1 }')
UNSCHEDULE=$(($UNSCHEDULE + $UCOUNT))
- echo "$SECTION: $RCOUNT/$ECOUNT/$UCOUNT"
+ echo "$SECTION: $RCOUNT rescheduled, $ECOUNT expired, $UCOUNT obsolete"
if [ -s $LOGS ]; then
ls -dtl $(cat $LOGS)
ln -f $(cat $LOGS) recycle/
--
piuparts git repository
More information about the Piuparts-commits
mailing list