fix counting, be less verbose
authorMichael Meier <michael.meier@fau.de>
Mon, 6 Jun 2016 08:38:18 +0000 (10:38 +0200)
committerMichael Meier <michael.meier@fau.de>
Mon, 6 Jun 2016 08:38:18 +0000 (10:38 +0200)
scripts/osmtilecleanup.pl

index fcbeac58145aa0b4a3009df5049af04f03afd275..a63d89a68678efe5d4ab26b7e6c83ee8c5c28511 100755 (executable)
@@ -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) {
This page took 0.083861 seconds and 4 git commands to generate.