mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
change check dir to check with jffs2 (mtd)
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sys/stat.h>
|
#include <system/helpers.h>
|
||||||
|
|
||||||
#include <xmltree/xmlinterface.h>
|
#include <xmltree/xmlinterface.h>
|
||||||
#include <zapit/client/zapittools.h>
|
#include <zapit/client/zapittools.h>
|
||||||
@@ -517,8 +517,7 @@ static void write_indexxml_footer(FILE *fd)
|
|||||||
|
|
||||||
void writeEventsToFile(const char *epgdir)
|
void writeEventsToFile(const char *epgdir)
|
||||||
{
|
{
|
||||||
struct stat my_stat;
|
if(check_dir(epgdir)){
|
||||||
if(stat(epgdir, &my_stat) != 0){
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user