Skip to content

Commit 9670f4f

Browse files
committed
style: Fix rustc lint
1 parent c5887a3 commit 9670f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl PtyProcess {
124124
flags.local_flags &= !termios::LocalFlags::ECHO;
125125
termios::tcsetattr(&stdin, termios::SetArg::TCSANOW, &flags)?;
126126

127-
command.exec();
127+
let _ = command.exec();
128128
Err(Error::Nix(nix::Error::last()))
129129
}
130130
ForkResult::Parent { child: child_pid } => Ok(PtyProcess {

0 commit comments

Comments
 (0)