Skip to content

Commit

Permalink
Merge pull request #807 from memorysafety/improve-pty-error
Browse files Browse the repository at this point in the history
improve pty error
  • Loading branch information
squell authored Jan 11, 2024
2 parents fb2b79f + e544180 commit 079569c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exec/use_pty/parent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ fn get_pty() -> io::Result<Pty> {

let pty = Pty::open().map_err(|err| {
dev_error!("cannot allocate pty: {err}");
err
io::Error::new(io::ErrorKind::NotFound, "unable to open pty")
})?;

let euid = User::effective_uid();
Expand Down

0 comments on commit 079569c

Please sign in to comment.