mirror of
https://github.com/fairyglade/ly.git
synced 2026-05-06 15:20:36 +00:00
Use SIGINT instead of SIGCHILD for TTY control transfer
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -201,7 +201,7 @@ fn startSession(
|
||||
|
||||
// Signal to the session process to give up control on the TTY
|
||||
try log_file.info(io, "auth/sys", "releasing tty", .{});
|
||||
std.posix.kill(options.session_pid, std.posix.SIG.CHLD) catch return error.TtyControlTransferFailed;
|
||||
std.posix.kill(options.session_pid, std.posix.SIG.INT) catch return error.TtyControlTransferFailed;
|
||||
|
||||
// Execute what the user requested
|
||||
switch (current_environment.display_server) {
|
||||
|
||||
Reference in New Issue
Block a user