diff options
author | Mike Gilbert <floppym@gentoo.org> | 2023-06-25 13:49:06 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2023-06-26 14:57:38 -0400 |
commit | e6f14e5d76fff757860691c7aa2f94172018711a (patch) | |
tree | 59b968ad17e263680b763e0bfa894a5fccbe5f84 /eclass/acct-group.eclass | |
parent | acct-user.eclass: improve error message when usermod fails (diff) | |
download | gentoo-e6f14e5d76fff757860691c7aa2f94172018711a.tar.gz gentoo-e6f14e5d76fff757860691c7aa2f94172018711a.tar.bz2 gentoo-e6f14e5d76fff757860691c7aa2f94172018711a.zip |
acct-user.eclass: include exit status in death message
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/acct-group.eclass')
-rw-r--r-- | eclass/acct-group.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass index 8d2d3adb7221..a0ad86066309 100644 --- a/eclass/acct-group.eclass +++ b/eclass/acct-group.eclass @@ -179,7 +179,7 @@ acct-group_pkg_preinst() { fi elog "Adding group ${ACCT_GROUP_NAME}" - groupadd "${opts[@]}" "${ACCT_GROUP_NAME}" || die + groupadd "${opts[@]}" "${ACCT_GROUP_NAME}" || die "groupadd failed with status $?" } fi |