Merge branch 'obsd-master'

pull/3626/head
Thomas Adam 2023-07-10 02:01:11 +01:00
commit e4c4ceb286
1 changed files with 1 additions and 1 deletions

View File

@ -428,8 +428,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);