]> git.openstreetmap.org Git - chef.git/commitdiff
Avoid errors cleaning export files
authorTom Hughes <tom@compton.nu>
Wed, 31 Aug 2016 11:31:19 +0000 (12:31 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 31 Aug 2016 11:31:19 +0000 (12:31 +0100)
cookbooks/tile/templates/default/export.cron.erb

index d2f3be1788969ee1128132aafff577d776075b78..b598e4113f366ba7a13e828a5d180327567db294 100644 (file)
@@ -3,4 +3,4 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 # Removes stale tmp files from the export tab
-exec find /tmp -name 'export??????' -mmin +60 -print0 | xargs -0r rm -f
+exec find /tmp -ignore_readdir_race -name 'export??????' -mmin +60 -delete