diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2015-10-19 18:29:32 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2015-10-19 18:29:32 +0000 |
commit | 09acfb95717de6c2b93a0d318be244723fde1fe0 (patch) | |
tree | 71dcb7f2f3f7fcea3ca751ce739655296f9c59f2 /pw | |
parent | 14af77aebe6b5dc81bb06083fe651696beac1546 (diff) | |
download | pw-darwin-09acfb95717de6c2b93a0d318be244723fde1fe0.tar.gz pw-darwin-09acfb95717de6c2b93a0d318be244723fde1fe0.tar.zst pw-darwin-09acfb95717de6c2b93a0d318be244723fde1fe0.zip |
Initialize `quiet` to false so `pw groupnext` again prints out the next gid
by default
Reported by: Florian Degner <f.degner@gmx.de>
MFC after: 1 week
PR: 203876
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'pw')
-rw-r--r-- | pw/pw_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_group.c b/pw/pw_group.c index 711ef68..67beab9 100644 --- a/pw/pw_group.c +++ b/pw/pw_group.c @@ -259,7 +259,7 @@ pw_group_next(int argc, char **argv, char *arg1 __unused) struct userconf *cnf; const char *cfg = NULL; int ch; - bool quiet; + bool quiet = false; while ((ch = getopt(argc, argv, "Cq")) != -1) { switch (ch) { |