phase1: dlprune: fix cannot delete ‘dl/’: Not a directory
[buildbot.git] / phase1 / master.cfg
index 4fb28b63ca9ad82bee5ef520a11125ed2b2ccad3..91755cde6e932a88d4c2fa7cc15faee2c9a13479 100644 (file)
@@ -881,7 +881,7 @@ for target in targets:
                name = "dlprune",
                description = "Pruning dl/",
                descriptionDone = "dl/ pruned",
-               command = 'find dl/ -atime +15 -delete -print',
+               command = 'find dl/ -mindepth 1 -atime +15 -delete -print',
                logEnviron = False,
        ))