diff --git a/src/capability.c b/src/capability.c index b42e7978..de124f2e 100644 --- a/src/capability.c +++ b/src/capability.c @@ -156,7 +156,7 @@ capability_index_mask(struct CapabilityIndex *index) DICTIONARY_FOREACH(entry, &iter, index->cap_dict) { - if (!entry->orphaned) + if (!(entry->flags & CAP_ORPHANED)) mask |= entry->value; }