[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] [PATCH] acct-user.eclass: improve error message when usermod fails
From:       Mike Gilbert <floppym () gentoo ! org>
Date:       2023-06-25 15:44:15
Message-ID: CAJ0EP42sH_QVYLXPqJBxNWNOS9Qa7vYf-y1tTEP_jx_9mstz_w () mail ! gmail ! com
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic