mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Because ignore SIGCHLD early, letting signal_del restore it doesn't work
correctly, so set it explicitly back to default (and the others for good measure).
This commit is contained in:
2
server.c
2
server.c
@ -161,7 +161,7 @@ server_start(struct tmuxproc *client, struct event_base *base, int lockfd,
|
||||
close(pair[0]);
|
||||
if (daemon(1, 0) != 0)
|
||||
fatal("daemon failed");
|
||||
proc_clear_signals(client);
|
||||
proc_clear_signals(client, 0);
|
||||
if (event_reinit(base) != 0)
|
||||
fatalx("event_reinit failed");
|
||||
server_proc = proc_start("server");
|
||||
|
Reference in New Issue
Block a user