On Sun, Jun 25, 2023 at 6:54 AM Florian Schmaus <f...@gentoo.org> wrote: > No strong opinion, but it is often a good idea to include the exit > status. For example: > > die "usermod failed (${status})"
That's a really good idea. It could also be applied to the useradd/groupadd/groupmod commands.