]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Initialize `quiet` to false so `pw groupnext` again prints out the next gid
authorEnji Cooper <ngie@FreeBSD.org>
Mon, 19 Oct 2015 18:29:32 +0000 (18:29 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Mon, 19 Oct 2015 18:29:32 +0000 (18:29 +0000)
by default

Reported by: Florian Degner <f.degner@gmx.de>
MFC after: 1 week
PR: 203876
Sponsored by: EMC / Isilon Storage Division

pw/pw_group.c

index 711ef68b0cca5f55a8d32dc98f2ec60040cdc760..67beab9788e83f1ec0edb9d6719af44a52cb3aff 100644 (file)
@@ -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) {