From 36c86043ee1544a77edd591293a8d34260abfd04 Mon Sep 17 00:00:00 2001 From: Michael Meier Date: Mon, 6 Jun 2016 10:38:18 +0200 Subject: [PATCH] fix counting, be less verbose --- scripts/osmtilecleanup.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/osmtilecleanup.pl b/scripts/osmtilecleanup.pl index fcbeac5..a63d89a 100755 --- a/scripts/osmtilecleanup.pl +++ b/scripts/osmtilecleanup.pl @@ -220,8 +220,9 @@ sub dohandleexpiredlist() { my $curtime = time(); if (($curtime - $setbackinterval) > $mtime) { # Do not touch again - it's already 20 years back. - print("Not touching '$p', it's over 20 years old so probably has already been set back.\n"); + #print("Not touching '$p', it's over 20 years old so probably has already been set back.\n"); } else { + $filesdone++; my $newmtime = $mtime - $setbackinterval; print("Touching '$p' (z=$z x=$x y=$y)\n"); if (utime($curtime, $newmtime, $p) < 1) { -- 2.25.1