buffer : simpliciation de try_spawn #6

Merged
ahurac merged 1 commit from feature/exit_codes into main 2023-12-12 13:02:34 +01:00
Showing only changes of commit 96cbbc6857 - Show all commits

View file

@ -41,15 +41,13 @@ impl Buffer {
if result.code().is_some() {
return Some(result.code().unwrap());
} else {
None
}
} else {
eprintln!("{}", result.unwrap_err());
return Some(127);
}
} else {
return None;
}
None
}
}