Skip to content

Commit

Permalink
fix logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pdowler committed Feb 20, 2024
1 parent 447e349 commit 1f500f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public Subject augment(final Subject subject) {
boolean needAugment = np == null;

PosixPrincipal pp = getPosixPrincipal(subject);
needAugment = needAugment || (pp == null || pp.defaultGroup != null || pp.username != null); // missing or incomplete
needAugment = needAugment || (pp == null || pp.defaultGroup == null || pp.username == null); // missing or incomplete

if (!needAugment) {
return subject;
Expand Down

0 comments on commit 1f500f8

Please sign in to comment.