@@ -95,9 +95,9 @@ if (!qb) return start_instance; struct dirent* ent; while (ent = readdir(qb)) { if (ent == NULL) return start_instance; - if (ent -> d_name[0] != '.') break; + if (strncmp(ent -> d_name, "ipc-", 4) == 0) break; } if (ent == NULL) return start_instance; end = stpncpy(end, ent->d_name, (sizeof srv.sun_path) - (end - srv.sun_path));