[PATCH] Fix arguments to find
We were getting:
find: Arguments to -type should contain only one letter
Fixes the urgency log cleanup.
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
---
config/debian/daily.functions | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/debian/daily.functions b/config/debian/daily.functions
index 110aa82..0576733 100644
--- a/config/debian/daily.functions
+++ b/config/debian/daily.functions
@@ -62,5 +62,5 @@ function contributor() {
# Clean up urgency log
function cleanurgencylog() {
log "Cleaning up urgency log"
- find /srv/ftp.debian.org/web/britney/urgencies -type -f -mtime +15 -delete
+ find /srv/ftp.debian.org/web/britney/urgencies -type f -mtime +15 -delete
}
--
2.9.3
Reply to: