[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Fix arguments to find



To: debian-dak@lists.debian.org
Cc: debian-release@lists.debian.org, Emilio Pozuelo Monfort <pochu@debian.org>
Date: Wed, 26 Oct 2016 14:53:56 +0200 (1 hour, 47 minutes, 5 seconds ago)
Resent-From: debian-dak@lists.debian.org

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.1.4


Reply to: