Added real delete for orphaned ticfiles
This commit is contained in:
parent
6d6948ae4e
commit
358e135777
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user