diff options
Diffstat (limited to 'pw/pw_group.c')
-rw-r--r-- | pw/pw_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_group.c b/pw/pw_group.c index b57eab3..302d44e 100644 --- a/pw/pw_group.c +++ b/pw/pw_group.c @@ -258,7 +258,7 @@ pw_group(int mode, struct cargs * args) grp->gr_mem = members; } - if (getarg(args, 'N') != NULL) + if (conf.dryrun) return print_group(grp, getarg(args, 'P') != NULL); if (mode == M_ADD && (rc = addgrent(grp)) != 0) { |