HomeFreeBSD

Fix a bug introduced in r399992, where creating only a user would fail

Description

Fix a bug introduced in r399992, where creating only a user would fail
due to $PW not being set. This only occurred when just a user was being
created without a group. Solve this by setting $PW outside of the group
creation and above both the user and group creation parts.

PR: 203489
Reviewed by: bapt
Approved by: portmgr (bapt)
Approved by: bdrewery (mentor)

Details

Provenance
brdAuthored on
Reviewer
bapt
Parents
rP400468: - Update to 3.07
Branches
Unknown
Tags
Unknown