diff --git a/ProcessList.c b/ProcessList.c index e0c1f816a5eb51d7099bcf14b11fa4c4db0a29f1..343885c7d2637114989118980efdb4de1c659e5f 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -224,6 +224,8 @@ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList) { int topoErr = hwloc_topology_init(&this->topology); if (topoErr == 0) { topoErr = hwloc_topology_load(this->topology); + } + if (topoErr == 0) { this->topologyOk = true; } #endif