mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
WIP Trying to diagnose 'invalid group: 1001:121' error in CI environment
This commit is contained in:
parent
163df8abc1
commit
f56903493c
1 changed files with 2 additions and 1 deletions
|
@ -220,7 +220,8 @@ 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(_) => {
|
Err(e) => {
|
||||||
|
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