diff --git a/mbfido/tic.c b/mbfido/tic.c index 9116f477..31248271 100644 --- a/mbfido/tic.c +++ b/mbfido/tic.c @@ -202,6 +202,7 @@ int Tic() if (tmp->Purged) { fname = calloc(PATH_MAX, sizeof(char)); snprintf(fname, PATH_MAX, "%s/%s", inbound, tmp->TicName); + unlink(fname); Syslog('+', "Removing obsolete %s", tmp->TicName); free(fname); }