mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
join: remove match in uumain and return exec result
This commit is contained in:
parent
a064c88656
commit
65dc70b553
1 changed files with 1 additions and 4 deletions
|
@ -701,10 +701,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||||
return Err(USimpleError::new(1, "both files cannot be standard input"));
|
return Err(USimpleError::new(1, "both files cannot be standard input"));
|
||||||
}
|
}
|
||||||
|
|
||||||
match exec(file1, file2, settings) {
|
exec(file1, file2, settings)
|
||||||
Ok(_) => Ok(()),
|
|
||||||
Err(e) => Err(USimpleError::new(1, format!("{e}"))),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn uu_app() -> Command {
|
pub fn uu_app() -> Command {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue