Skip to content

Commit 2e5892e

Browse files
committed
Merge branch 'main' into zero-dot-three
2 parents 9e3d102 + 20a3378 commit 2e5892e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

flake.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

teletypewriter/src/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ pub fn create_pty_with_spawn(
548548
// Create a new process group.
549549
let err = libc::setsid();
550550
if err == -1 {
551-
return Err(Error::other("Failed to set session id"));
551+
return Err(Error::last_os_error());
552552
}
553553

554554
if is_controling_terminal {

0 commit comments

Comments
 (0)