diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uidgid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uidgid.c b/src/uidgid.c index b467069..720d2ff 100644 --- a/src/uidgid.c +++ b/src/uidgid.c @@ -15,7 +15,7 @@ unsigned int uidgid_get(struct uidgid *u, char *ug, unsigned int dogrp) { ug[d] =0; g =ug +d +1; } - if (! (pwd =getpwnam(ug))) { ug[d] =':'; return(0); } + if (! (pwd =getpwnam(ug))) { if (g) ug[d] =':'; return(0); } if (g) { ug[d] =':'; for (i =0; i < 60; ++i) { |