log failed tp remove xml epg

This commit is contained in:
TangoCash
2022-09-09 22:43:15 +02:00
committed by Thilo Graf
parent b33141cdfe
commit 29731b1d2f

View File

@@ -713,7 +713,9 @@ void *insertEventsfromXMLTV(void * data)
if (!access(tmp_name.c_str(), R_OK))
{
readEventsFromXMLTV(tmp_name, ev_count);
remove(tmp_name.c_str());
int ret = unlink(tmp_name.c_str());
if (ret != 0)
printf("Failed to delete file: %s\n", tmp_name.c_str());
}
}
else