diff options
author | ngie <ngie@FreeBSD.org> | 2015-10-26 00:28:05 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-10-26 00:28:05 +0000 |
commit | 6be0ee955fc72a516ce3e03fc91450e0ddf7bfec (patch) | |
tree | 151bb6860c2da4f661d765fd409e3c8495c3b748 | |
parent | 5ab2a189ae54b8370a671f1d3cb52d3f126d07be (diff) | |
download | FreeBSD-src-6be0ee955fc72a516ce3e03fc91450e0ddf7bfec.zip FreeBSD-src-6be0ee955fc72a516ce3e03fc91450e0ddf7bfec.tar.gz |
MFC r289600:
Initialize `quiet` to false so `pw groupnext` again prints out the next gid
by default
Reported by: Florian Degner <f.degner@gmx.de>
PR: 203876
Sponsored by: EMC / Isilon Storage Division
-rw-r--r-- | usr.sbin/pw/pw_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw_group.c b/usr.sbin/pw/pw_group.c index 711ef68..67beab9 100644 --- a/usr.sbin/pw/pw_group.c +++ b/usr.sbin/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) { |