From 61485a50fb8b4a5d9adcc7b71c2a6df7109f76b8 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 11 Jul 2015 17:01:08 +0000 Subject: Move the quiet flag into the configuration structure --- pw/pw_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pw/pw_group.c') diff --git a/pw/pw_group.c b/pw/pw_group.c index 28a7c94..61f0a21 100644 --- a/pw/pw_group.c +++ b/pw/pw_group.c @@ -122,7 +122,7 @@ pw_group(int mode, char *name, long id, struct cargs * args) }; if (mode == M_NEXT) - return (pw_groupnext(cnf, getarg(args, 'q') != NULL)); + return (pw_groupnext(cnf, conf.quiet)); if (mode == M_LOCK || mode == M_UNLOCK) errx(EX_USAGE, "'lock' command is not available for groups"); -- cgit v1.2.3