1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Revert "WIP Trying to diagnose 'invalid group: 1001:121' error in CI environment"

This reverts commit 291fb3ad71a0e93705509a352fd95de7539402ed.
This commit is contained in:
Jeffrey Finkelstein 2022-05-09 20:47:46 -04:00 committed by Sylvestre Ledru
parent f56903493c
commit 3029d83a36

View file

@ -220,8 +220,7 @@ fn parse_spec(spec: &str, sep: char) -> UResult<(Option<u32>, Option<u32>)> {
Ok(g) => g.gid,
Err(_) => match group.parse() {
Ok(gid) => gid,
Err(e) => {
eprintln!("error {}, user {}, group {}, uid {:?}", e, user, group, uid);
Err(_) => {
return Err(USimpleError::new(
1,
format!("invalid group: {}", spec.quote()),