HomeFreeBSD

Mk/Scripts/do-users-groups.sh: Make users and groups creation fail-fast

Description

Mk/Scripts/do-users-groups.sh: Make users and groups creation fail-fast

Fail fast when pw(8) fails to create a user or a group. Especially when it is
not the last command in the pre-install script then the exit code will be 0 and
the failure will go unnoticed.

PR: 267384
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D42719

Details

Provenance
michaeloAuthored on Nov 22 2023, 11:30 AM
Differential Revision
D42719: Mk/Scripts/do-users-groups.sh: Make users and groups creation fail-fast
Parents
R11:db880cf97209: security/git-credential-oauth: Update to 0.11.3
Branches
Unknown
Tags
Unknown