Ignore some files in PZ

This commit is contained in:
emanuel 2020-11-30 20:13:43 +00:00
parent 1da612443b
commit 8ec2bd2642
1 changed files with 1 additions and 0 deletions

View File

@ -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;