git: DragonFly_RELEASE_6_4 tools/pw-update.sh: Adjust primary group of new users only necessary

Aaron LI aly at crater.dragonflybsd.org
Fri Feb 3 01:45:19 PST 2023


commit 01053b8c0ef9478c44d960fb94c586de2921a86f
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Feb 3 14:17:33 2023 +0800

    tools/pw-update.sh: Adjust primary group of new users only necessary
    
    When the primary group of new user exists, just use it, and thus avoid
    unnecessary group adjustments for new users.

Summary of changes:
 tools/pw-update.sh | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/01053b8c0ef9478c44d960fb94c586de2921a86f


-- 
DragonFly BSD source repository


More information about the Commits mailing list