diff options
author | nicm <nicm> | 2023-07-09 22:54:52 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-07-09 22:54:52 +0000 |
commit | b7e22d00b4530ecf6b86884c0f27cbad38a6345c (patch) | |
tree | ba3290ce9c4731fc5e6817fdc5ee61b1fef01de2 | |
parent | 43b841f188c994966e00e59c96581b876652bef1 (diff) |
Call closefrom after removing signals because newer libevent doesn't
like its signal fd being closed Azat Khuzhin.
-rw-r--r-- | spawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -415,8 +415,8 @@ spawn_pane(struct spawn_context *sc, char **cause) _exit(1); /* Clean up file descriptors and signals and update the environment. */ - closefrom(STDERR_FILENO + 1); proc_clear_signals(server_proc, 1); + closefrom(STDERR_FILENO + 1); sigprocmask(SIG_SETMASK, &oldset, NULL); log_close(); environ_push(child); |