Skip to content

Commit 80bd61a

Browse files
committed
id: Remove extra printing of euid
1 parent d911961 commit 80bd61a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/uu/id/src/id.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -468,15 +468,6 @@ fn pretty(possible_pw: Option<Passwd>) {
468468
}
469469
}
470470

471-
let rid = getgid();
472-
if rid != eid {
473-
if let Ok(g) = Group::locate(rid) {
474-
println!("euid\t{}", g.name);
475-
} else {
476-
println!("euid\t{rid}");
477-
}
478-
}
479-
480471
println!(
481472
"groups\t{}",
482473
entries::get_groups_gnu(None)

0 commit comments

Comments
 (0)