summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/aggregate.sh5
1 files 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
+