nice: simplify the code

This commit is contained in:
Sylvestre Ledru
2025-12-30 22:56:25 +01:00
committed by Etienne Cordonnier
parent 2916d2b83f
commit d97bc73ea9
+1 -1
View File
@@ -163,7 +163,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
let err = process::Command::new(cmd).args(args).exec();
show_error!("{}: {}", cmd, err);
show_error!("{cmd}: {err}");
let exit_code = if err.kind() == ErrorKind::NotFound {
127