aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.rs b/src/command.rs
index 3867bf2..171e764 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -104,7 +104,7 @@ impl Command {
pty: &crate::Pty,
) -> crate::Result<async_process::Child> {
let (stdin, stdout, stderr, mut pre_exec) =
- crate::sys::setup_subprocess(pty, pty.pts()?)?;
+ crate::sys::setup_subprocess(pty, pty.pts())?;
self.inner.stdin(self.stdin.take().unwrap_or(stdin));
self.inner.stdout(self.stdout.take().unwrap_or(stdout));