From: Florent Bruneau Date: Fri, 17 Oct 2008 19:37:17 +0000 (+0200) Subject: Missing unlink on the tmp database when nothing-to-do. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=b6e435be5bdafb8a20faf904da9c6886c162425a;p=apps%2Fpfixtools.git Missing unlink on the tmp database when nothing-to-do. Signed-off-by: Florent Bruneau --- 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); } }