public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: improve error message when usermod fails
Date: Sun, 25 Jun 2023 11:44:15 -0400	[thread overview]
Message-ID: <CAJ0EP42sH_QVYLXPqJBxNWNOS9Qa7vYf-y1tTEP_jx_9mstz_w@mail.gmail.com> (raw)
In-Reply-To: <881fd15c-92cb-5c19-4692-9609be588b22@gentoo.org>

On Sun, Jun 25, 2023 at 6:54 AM Florian Schmaus <flow@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.


      reply	other threads:[~2023-06-25 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-24 17:01 [gentoo-dev] [PATCH] acct-user.eclass: improve error message when usermod fails Mike Gilbert
2023-06-25 10:54 ` Florian Schmaus
2023-06-25 15:44   ` Mike Gilbert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ0EP42sH_QVYLXPqJBxNWNOS9Qa7vYf-y1tTEP_jx_9mstz_w@mail.gmail.com \
    --to=floppym@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox