mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #7696 from nyurik/id-fix
bug: fix id printing of egid
This commit is contained in:
commit
1abe65cfdb
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