mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
chown: remove unnecessary return
This commit is contained in:
@@ -209,7 +209,7 @@ fn parse_uid(user: &str, spec: &str, sep: char) -> UResult<Option<u32>> {
|
||||
// but the input contains a '.' but not a ':'
|
||||
// we might have something like username.groupname
|
||||
// So, try to parse it this way
|
||||
return parse_spec(spec, '.').map(|(uid, _)| uid);
|
||||
parse_spec(spec, '.').map(|(uid, _)| uid)
|
||||
} else {
|
||||
// It's possible that the `user` string contains a
|
||||
// numeric user ID, in which case, we respect that.
|
||||
|
||||
Reference in New Issue
Block a user