Ignore some files in PZ
This commit is contained in:
parent
1da612443b
commit
8ec2bd2642
|
|
@ -187,6 +187,7 @@ int itss_config(void* facilities_s, char* config_file) {
|
|||
char pz_xml[2048];
|
||||
if (d) {
|
||||
while ((dir = readdir(d)) != NULL && i < 16) {
|
||||
if (dir->d_name[0] == '.') continue;
|
||||
sprintf(file, "%s/%s", pz_path, dir->d_name);
|
||||
FILE *fp = fopen(file, "r");
|
||||
if (!fp) continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue