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
commit61485a50fb8b4a5d9adcc7b71c2a6df7109f76b8 (patch)
tree8f675e2ebc44a10a158a640d774aca39c4e76491 /pw/pw_user.c
parent5809c6a767c19d9ce6cca88efbcd54a6f19b5ce8 (diff)
downloadpw-darwin-61485a50fb8b4a5d9adcc7b71c2a6df7109f76b8.tar.gz
pw-darwin-61485a50fb8b4a5d9adcc7b71c2a6df7109f76b8.tar.zst
pw-darwin-61485a50fb8b4a5d9adcc7b71c2a6df7109f76b8.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