diff --git a/src/sectionsd/sectionsd.cpp b/src/sectionsd/sectionsd.cpp index 475d8e8d6..804012a38 100644 --- a/src/sectionsd/sectionsd.cpp +++ b/src/sectionsd/sectionsd.cpp @@ -4595,6 +4595,7 @@ static void *insertEventsfromFile(void *) if (stat(indexname.c_str(), &buf) == 0){ reader_ready = true; pthread_exit(NULL); + return; } indexname = epg_dir + "index.xml";