summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/job.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2017-07-12 09:24:18 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2017-07-12 09:24:18 +0000
commita0abd8f9b95def0ebf3cdf38b71291594a970daf (patch)
treecab5f2792e4009b1bbea7e92a956d41df55504b1 /usr.bin/tmux/job.c
parentc9b01ab256541fdc54b723b8163431cc71fa516d (diff)
Move signal code into proc.c.
Diffstat (limited to 'usr.bin/tmux/job.c')
-rw-r--r--usr.bin/tmux/job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/job.c b/usr.bin/tmux/job.c
index 7d2432b316f..028706d89bb 100644
--- a/usr.bin/tmux/job.c
+++ b/usr.bin/tmux/job.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: job.c,v 1.45 2017/05/31 17:56:48 nicm Exp $ */
+/* $OpenBSD: job.c,v 1.46 2017/07/12 09:24:17 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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)