We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe573c9 commit 1e57f51Copy full SHA for 1e57f51
sh/src/shell/mod.rs
@@ -771,6 +771,8 @@ impl Shell {
771
}
772
ForkResult::Parent { child } => {
773
loop {
774
+ // some patterns are only available on linux
775
+ #[allow(unreachable_patterns)]
776
match waitpid(child, Some(WaitPidFlag::WNOHANG | WaitPidFlag::WUNTRACED))? {
777
WaitStatus::Exited(_, _) => {
778
// the only way this happened is if there was an error before going
0 commit comments