On Sun, Jun 25, 2023 at 6:54 AM Florian Schmaus 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 comm
On 24/06/2023 19.01, Mike Gilbert wrote:
usermod refuses to update the home directory for a user with running
processes. Output a more helpful message and avoid calling die for this.
For other usermod failures, output stderr as an eerror message and die.
Example output:
* Failed to update us
usermod refuses to update the home directory for a user with running
processes. Output a more helpful message and avoid calling die for this.
For other usermod failures, output stderr as an eerror message and die.
Example output:
* Failed to update user portage
* This user currently has one or