projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Missing unlink on the tmp database when nothing-to-do.
[apps/pfixtools.git]
/
postlicyd
/
greylist.c
diff --git
a/postlicyd/greylist.c
b/postlicyd/greylist.c
index
4cbe8b9
..
83ad413
100644
(file)
--- 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);
}
}