diff options
author | ngie <ngie@FreeBSD.org> | 2015-10-19 18:29:32 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-10-19 18:29:32 +0000 |
commit | 02a1e0f62182db946e4a9e8254db6971411ba20d (patch) | |
tree | 710b4134f4ba67793bcb45025575e64d640fffe0 /usr.sbin/pw | |
parent | 0965bc10d748bdb5445f1a3806177f5db25242f9 (diff) | |
download | FreeBSD-src-02a1e0f62182db946e4a9e8254db6971411ba20d.zip FreeBSD-src-02a1e0f62182db946e4a9e8254db6971411ba20d.tar.gz |
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 'usr.sbin/pw')
-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) { |