mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
bug: fix id printing of egid
Spotted while doing format arg inlining, and confirmed in https://github.com/uutils/coreutils/pull/7689#issuecomment-2786827777
This commit is contained in:
parent
a77e218a79
commit
a207f997a3
1 changed files with 1 additions and 2 deletions
|
@ -587,8 +587,7 @@ fn id_print(state: &State, groups: &[u32]) {
|
|||
}
|
||||
if !state.user_specified && (egid != gid) {
|
||||
print!(
|
||||
" egid={}({})",
|
||||
euid,
|
||||
" egid={egid}({})",
|
||||
entries::gid2grp(egid).unwrap_or_else(|_| {
|
||||
show_error!("cannot find name for group ID {}", egid);
|
||||
set_exit_code(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue