[Piuparts-commits] [piuparts] 14/16: reschedule_oldest_logs: allow overriding the sections on the command line
Holger Levsen
holger at layer-acht.org
Thu Apr 13 15:04:53 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 63539d448a062ef5af9a1f3c612d05b4f0617e0f
Author: Andreas Beckmann <anbe at debian.org>
Date: Tue Apr 11 16:01:35 2017 +0200
reschedule_oldest_logs: allow overriding the sections on the command line
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
master-bin/reschedule_oldest_logs.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/master-bin/reschedule_oldest_logs.in b/master-bin/reschedule_oldest_logs.in
index 88b31ed..3effe9f 100755
--- a/master-bin/reschedule_oldest_logs.in
+++ b/master-bin/reschedule_oldest_logs.in
@@ -43,6 +43,11 @@ get_config_value FAIL_COUNT global reschedule-fail-count 25
get_config_value AUTO_RESCHEDULE global auto-reschedule yes
+if [ -n "$*" ]; then
+ SECTIONS="$*"
+fi
+
+
RECENT=$(mktemp)
touch -d "2 days ago" "$RECENT"
is_recent()
--
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