summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
diff options
context:
space:
mode:
Diffstat (limited to 'ProcessList.c')
-rw-r--r--ProcessList.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ProcessList.c b/ProcessList.c
index e0c1f816..343885c7 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