[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeed
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeeding"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeeding"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeeding"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeeding"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeeding"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeeding"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267384] Make Mk/Scripts/do-users-groups.sh fail-fast instead of silently succeeding"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Oct 2022 08:21:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267384 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=237674&action=edit 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. -- You are receiving this mail because: You are the assignee for the bug.