summaryrefslogtreecommitdiffstats
path: root/job.c
diff options
context:
space:
mode:
authornicm <nicm>2017-07-12 09:24:17 +0000
committernicm <nicm>2017-07-12 09:24:17 +0000
commit0453ad01468460d5fca09457ed7c862685076931 (patch)
tree7e63dbfcf45de2deab536f6800329244c38b2348 /job.c
parented3cfaafb2c04776b6452fa968715a3626d99a4a (diff)
Move signal code into proc.c.
Diffstat (limited to 'job.c')
-rw-r--r--job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/job.c b/job.c
index e69ba41b..ebf44595 100644
--- a/job.c
+++ b/job.c
@@ -68,7 +68,7 @@ job_run(const char *cmd, struct session *s, const char *cwd,
close(out[1]);
return (NULL);
case 0: /* child */
- clear_signals(1);
+ proc_clear_signals(server_proc);
if (cwd == NULL || chdir(cwd) != 0) {
if ((home = find_home()) == NULL || chdir(home) != 0)