mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
log failed tp remove xml epg
This commit is contained in:
@@ -713,7 +713,9 @@ void *insertEventsfromXMLTV(void * data)
|
|||||||
if (!access(tmp_name.c_str(), R_OK))
|
if (!access(tmp_name.c_str(), R_OK))
|
||||||
{
|
{
|
||||||
readEventsFromXMLTV(tmp_name, ev_count);
|
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
|
else
|
||||||
|
Reference in New Issue
Block a user