@cryptotaxi247 / netdata-1 / commits / 189566073

read DT_UNKNOWN alarm files; fixes #897

Costa Tsaousis (ktsaou) committed Sep 9, 2016 at 20:12 UTC 1895660731f7045c6c050d3a01fbdc34d17a56d7
1 file changed +1 -1
src/health.c
+1 -1
@@ -1581,7 +1581,7 @@ void health_readdir(const char *path) {
1581 continue;
1582 }
1583
1584 - else if((de->d_type == DT_LNK || de->d_type == DT_REG) &&
1584 + else if((de->d_type == DT_LNK || de->d_type == DT_REG || de->d_type == DT_UNKNOWN) &&
1585 len > 5 && !strcmp(&de->d_name[len - 5], ".conf")) {
1586 health_readfile(path, de->d_name);
1587 }