From: Michael Meier Date: Mon, 6 Jun 2016 08:38:18 +0000 (+0200) Subject: fix counting, be less verbose X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?p=osmrrze.git;a=commitdiff_plain;h=36c86043ee1544a77edd591293a8d34260abfd04 fix counting, be less verbose --- 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) {