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:
parent
f56903493c
commit
3029d83a36
1 changed files with 1 additions and 2 deletions
|
@ -220,8 +220,7 @@ fn parse_spec(spec: &str, sep: char) -> UResult<(Option<u32>, Option<u32>)> {
|
||||||
Ok(g) => g.gid,
|
Ok(g) => g.gid,
|
||||||
Err(_) => match group.parse() {
|
Err(_) => match group.parse() {
|
||||||
Ok(gid) => gid,
|
Ok(gid) => gid,
|
||||||
Err(e) => {
|
Err(_) => {
|
||||||
eprintln!("error {}, user {}, group {}, uid {:?}", e, user, group, uid);
|
|
||||||
return Err(USimpleError::new(
|
return Err(USimpleError::new(
|
||||||
1,
|
1,
|
||||||
format!("invalid group: {}", spec.quote()),
|
format!("invalid group: {}", spec.quote()),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue