diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-07-12 09:24:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-07-12 09:24:18 +0000 |
commit | a0abd8f9b95def0ebf3cdf38b71291594a970daf (patch) | |
tree | cab5f2792e4009b1bbea7e92a956d41df55504b1 /usr.bin/tmux/job.c | |
parent | c9b01ab256541fdc54b723b8163431cc71fa516d (diff) |
Move signal code into proc.c.
Diffstat (limited to 'usr.bin/tmux/job.c')
-rw-r--r-- | usr.bin/tmux/job.c | 4 |
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) |