Date: Fri, 03 May 2024 07:47:40 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeeding Message-ID: <bug-267384-7788-4z0TWBSirG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267384-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-267384-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267384 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D4280a82efe69f5dc77a67394f7bd360= 95c74cd6c commit 4280a82efe69f5dc77a67394f7bd36095c74cd6c Author: Michael Osipov <michaelo@FreeBSD.org> AuthorDate: 2023-11-22 11:30:32 +0000 Commit: Michael Osipov <michaelo@FreeBSD.org> CommitDate: 2024-05-03 07:44:53 +0000 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 Mk/Scripts/do-users-groups.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267384-7788-4z0TWBSirG>