From b6e435be5bdafb8a20faf904da9c6886c162425a Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 17 Oct 2008 21:37:17 +0200 Subject: [PATCH] Missing unlink on the tmp database when nothing-to-do. Signed-off-by: Florent Bruneau --- postlicyd/greylist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/postlicyd/greylist.c b/postlicyd/greylist.c index 4cbe8b9..83ad413 100644 --- a/postlicyd/greylist.c +++ b/postlicyd/greylist.c @@ -157,6 +157,7 @@ static TCBDB *greylist_db_get(const greylist_config_t *config, return NULL; } } else { + unlink(tmppath); info("database cleanup finished: nothing to do, %u entries", new_count); } } -- 2.20.1