uncomment for upstream compatibility
This commit is contained in:
parent
d306821b53
commit
a5f50fd63e
@ -173,8 +173,8 @@ pub fn init(
|
||||
// nss implementation does.
|
||||
// - Uncomment this code to behave how Classics behave.
|
||||
// - Leave commented to be compatible with Ours Truly NSS.
|
||||
//if (users.items(.gid)[user_idx] == groups.items(.gid)[i])
|
||||
// continue;
|
||||
if (users.items(.gid)[user_idx] == groups.items(.gid)[i])
|
||||
continue;
|
||||
members.len += 1;
|
||||
members[members.len - 1] = user_idx;
|
||||
try user2groups[user_idx].append(allocator, @intCast(u32, i));
|
||||
|
Loading…
Reference in New Issue
Block a user