--- bmon/src/in_sysfs.c +++ bmon/src/in_sysfs.c @@ -164,7 +164,7 @@ quit("Failed to open directory %s: %s\n", topdir, strerror(errno)); while ((de = readdir(d))) { - if (de->d_type == DT_DIR && de->d_name[0] != '.') { + if ((de->d_type == DT_DIR || de->d_type == DT_LNK) && de->d_name[0] != '.') { char p[FILENAME_MAX]; snprintf(p, sizeof(p), "%s/%s/statistics",