summaryrefslogtreecommitdiffstats
path: root/pw
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-10-19 18:29:32 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-10-19 18:29:32 +0000
commit66d9e5fe286aaad023911a859e7b61e780a9740b (patch)
treec86d2595e38f3942a3bf9a542409444e2b69f2f4 /pw
parent44a71099ac438b85d54767fde2c91924304597e8 (diff)
downloadpw-darwin-66d9e5fe286aaad023911a859e7b61e780a9740b.tar.gz
pw-darwin-66d9e5fe286aaad023911a859e7b61e780a9740b.tar.zst
pw-darwin-66d9e5fe286aaad023911a859e7b61e780a9740b.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.c2
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) {