diff options
-rw-r--r-- | toys/posix/id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/id.c b/toys/posix/id.c index 4b732b1b..daa4b9e2 100644 --- a/toys/posix/id.c +++ b/toys/posix/id.c @@ -107,7 +107,7 @@ static void do_id(char *username) grp = xgetgrgid(i ? gid : egid); if (flags & FLAG_g) s_or_u(grp->gr_name, grp->gr_gid, 1); - if (!(toys.optflags&(FLAG_g|FLAG_Z))) { + if (!(toys.optflags&(FLAG_G|FLAG_g|FLAG_Z))) { showid("uid=", pw->pw_uid, pw->pw_name); showid(" gid=", grp->gr_gid, grp->gr_name); |