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

Aaron LI aly at crater.dragonflybsd.org
Fri Feb 3 01:42:25 PST 2023


commit 37c7698af7dfd20a831e08fe31299731bb8492ed
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/37c7698af7dfd20a831e08fe31299731bb8492ed


-- 
DragonFly BSD source repository


More information about the Commits mailing list