command : suppression d'un nombre magique
This commit is contained in:
parent
a3b2f3da74
commit
529d5fdb81
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue