Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2017-07-14 22:01:10 +01:00
7 changed files with 18 additions and 8 deletions

View File

@ -933,7 +933,7 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv,
sigprocmask(SIG_SETMASK, &oldset, NULL);
return (-1);
case 0:
proc_clear_signals(server_proc);
proc_clear_signals(server_proc, 1);
sigprocmask(SIG_SETMASK, &oldset, NULL);
if (chdir(wp->cwd) != 0) {