[Bug 216594] pw usernext ignores config option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Dec 2024 22:31:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216594 Gert Doering <gert@greenie.muc.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #1 from Gert Doering <gert@greenie.muc.de> --- Thanks for pointing light on this old PR. Checking current sources, I can see that this has been fixed in 2016 already (which was just not in the 10.3 sources I had on the system at hand when opening the PR) commit e1fc61c1147c686c04c02bfb00ebb27910da332f Author: Baptiste Daroussin <bapt@FreeBSD.org> Date: Sat Jun 4 16:31:33 2016 +0000 Fix typo preventing pw {user,group}next -C from working as expected Reported by: Mike Selnet via forums.freebsd.org MFC after: 3 days ... diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c index 5ad1409f48b6..67186c3dc033 100644 --- a/usr.sbin/pw/pw_user.c +++ b/usr.sbin/pw/pw_user.c @@ -742,7 +742,7 @@ pw_user_next(int argc, char **argv, char *name __unused) bool quiet = false; uid_t next; - while ((ch = getopt(argc, argv, "Cq")) != -1) { + while ((ch = getopt(argc, argv, "C:q")) != -1) { -- You are receiving this mail because: You are the assignee for the bug.