Date: Thu, 27 Oct 2022 08:21:12 +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 succeed Message-ID: <bug-267384-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267384 Bug ID: 267384 Summary: Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: michael.osipov@siemens.com Created attachment 237674 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237674&action= =3Dedit Git-formatted patch This has been found during Bug 267364. If user or group creation fails before the last element this goes unnoticed since the exit code isn't examined. Only the last exit code is taken into account. There is no point in creating a user when the group creation has failed. A Git-formatted patch has been attached. The patch also cleans up a few inconsistencies in the messages. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267384-7788>