diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/runner/command.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runner/command.rs b/src/runner/command.rs index 89bc27b..059b173 100644 --- a/src/runner/command.rs +++ b/src/runner/command.rs @@ -175,7 +175,8 @@ impl Child { > { Box::pin(async move { match self { - Self::Binary(mut child) => Ok(child.wait().await?), + // this case is handled by waitpid + Self::Binary(_) => unreachable!(), Self::Builtin(child) => Ok(child.status().await?), } }) |