summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw_user.c
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-07-11 17:01:08 +0000
committerbapt <bapt@FreeBSD.org>2015-07-11 17:01:08 +0000
commit45674912578ba1480166b5c9537c35fb30123083 (patch)
tree4d647d53d630bc678cccc24bbbb9f7df51a934a8 /usr.sbin/pw/pw_user.c
parent032c1600ece5fbb82f126701974fc66146ebbf24 (diff)
downloadFreeBSD-src-45674912578ba1480166b5c9537c35fb30123083.zip
FreeBSD-src-45674912578ba1480166b5c9537c35fb30123083.tar.gz
Move the quiet flag into the configuration structure
Diffstat (limited to 'usr.sbin/pw/pw_user.c')
-rw-r--r--usr.sbin/pw/pw_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c
index 298aeab..dc9827a 100644
--- a/usr.sbin/pw/pw_user.c
+++ b/usr.sbin/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
OpenPOWER on IntegriCloud