From a9b6f8f790f7e6747044144465ff640f69cf92c6 Mon Sep 17 00:00:00 2001 From: Fredrik Aslund Date: Fri, 4 Nov 2016 13:32:15 +0100 Subject: always retry aggretation if it failes --- scripts/aggregate.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/aggregate.sh b/scripts/aggregate.sh index 2981e2fd..35ac1a7b 100755 --- a/scripts/aggregate.sh +++ b/scripts/aggregate.sh @@ -9,8 +9,6 @@ last_aggregate_ts=$ODIR/last_aggregate.ts if find $last_aggregate_ts -mmin -$aggregate_interval_min 2>/dev/null | grep -q . ; then exit 0 -else - touch $last_aggregate_ts fi rm -f $ODIR/*.xml @@ -28,3 +26,6 @@ grep -v -e '^#' $ODIR/metadata.lst | grep . | (while read url cert; do exit $ret fi done) || exit $ret + +touch $last_aggregate_ts + -- cgit v1.2.3