command : suppression d'un nombre magique

This commit is contained in:
Ahurac 2024-04-10 12:37:40 +02:00
parent a3b2f3da74
commit 529d5fdb81

View file

@ -92,7 +92,7 @@ impl Command for UnixProgram {
let exit_code = match u8::try_from(exit_code) {
Ok(code) => ExitCode::new(code),
Err(_e) => ExitCode::new(255),
Err(_e) => ExitCode::new(u8::MAX),
};
exit_code