summaryrefslogtreecommitdiffstats
path: root/pw/pw_user.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-07-11 17:01:08 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-07-11 17:01:08 +0000
commitecf012ac29ba3e82e8b5e497ee1b80629ae5624f (patch)
treef34db7c3923afd03edab098b4fcd6982a6056123 /pw/pw_user.c
parentbc539790827cbc69585a6ec393f04705e5825eff (diff)
downloadpw-darwin-ecf012ac29ba3e82e8b5e497ee1b80629ae5624f.tar.gz
pw-darwin-ecf012ac29ba3e82e8b5e497ee1b80629ae5624f.tar.zst
pw-darwin-ecf012ac29ba3e82e8b5e497ee1b80629ae5624f.zip
Move the quiet flag into the configuration structure
Diffstat (limited to 'pw/pw_user.c')
-rw-r--r--pw/pw_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c
index 298aeab..dc9827a 100644
--- a/pw/pw_user.c
+++ b/pw/pw_user.c
@@ -231,7 +231,7 @@ pw_user(int mode, char *name, long id, struct cargs * args)
cnf = conf.userconf;
if (mode == M_NEXT)
- return (pw_usernext(cnf, getarg(args, 'q') != NULL));
+ return (pw_usernext(cnf, conf.quiet));
/*
* We can do all of the common legwork here