mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #7696 from nyurik/id-fix
bug: fix id printing of egid
This commit is contained in:
+1
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user