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

2
job.c
View File

@ -71,7 +71,7 @@ job_run(const char *cmd, struct session *s, const char *cwd,
close(out[1]);
return (NULL);
case 0:
proc_clear_signals(server_proc);
proc_clear_signals(server_proc, 1);
sigprocmask(SIG_SETMASK, &oldset, NULL);
if (cwd == NULL || chdir(cwd) != 0) {