1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

join: remove match in uumain and return exec result

This commit is contained in:
cswn 2023-11-16 12:02:39 +01:00
parent a064c88656
commit 65dc70b553

View file

@ -701,10 +701,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
return Err(USimpleError::new(1, "both files cannot be standard input"));
}
match exec(file1, file2, settings) {
Ok(_) => Ok(()),
Err(e) => Err(USimpleError::new(1, format!("{e}"))),
}
exec(file1, file2, settings)
}
pub fn uu_app() -> Command {