From b1002b3c03d08cb2ba07261fcb5363561004a077 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 9 Jul 2015 14:14:44 +0000 Subject: Do not try to set password on group if the group is added as a consequence of of creating a user (regression from r285136) Reported by: Fabian Keil --- pw/pw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pw/pw.c') diff --git a/pw/pw.c b/pw/pw.c index b9bd9d0..6769738 100644 --- a/pw/pw.c +++ b/pw/pw.c @@ -215,6 +215,7 @@ main(int argc, char *argv[]) if (mode == -1 || which == -1) cmdhelp(mode, which); + conf.which = which; /* * We know which mode we're in and what we're about to do, so now * let's dispatch the remaining command line args in a genric way. -- cgit v1.2.3