summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/proc.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-07-12 12:35:31 +0000
committernicm <nicm@openbsd.org>2017-07-12 12:35:31 +0000
commitf2edf49dea7e9bd31ace95160ab5b230c97b7b62 (patch)
tree01c595b5e21046931eb3934db5c6b89bd91d8128 /usr.bin/tmux/proc.c
parentInspect LC_CTYPE and if it isn't UTF-8, weed out bytes that are not (diff)
downloadwireguard-openbsd-f2edf49dea7e9bd31ace95160ab5b230c97b7b62.tar.xz
wireguard-openbsd-f2edf49dea7e9bd31ace95160ab5b230c97b7b62.zip
Do not need to set up USR2 twice.
Diffstat (limited to 'usr.bin/tmux/proc.c')
-rw-r--r--usr.bin/tmux/proc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/proc.c b/usr.bin/tmux/proc.c
index 693d6cbb87e..d96dd2aec89 100644
--- a/usr.bin/tmux/proc.c
+++ b/usr.bin/tmux/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.12 2017/07/12 09:24:17 nicm Exp $ */
+/* $OpenBSD: proc.c,v 1.13 2017/07/12 12:35:31 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -223,7 +223,6 @@ proc_set_signals(struct tmuxproc *tp, void (*signalcb)(int))
sigaction(SIGINT, &sa, NULL);
sigaction(SIGPIPE, &sa, NULL);
- sigaction(SIGUSR2, &sa, NULL);
sigaction(SIGTSTP, &sa, NULL);
signal_set(&tp->ev_sighup, SIGHUP, proc_signal_cb, tp);
@@ -254,7 +253,6 @@ proc_clear_signals(struct tmuxproc *tp)
sigaction(SIGINT, &sa, NULL);
sigaction(SIGPIPE, &sa, NULL);
- sigaction(SIGUSR2, &sa, NULL);
sigaction(SIGTSTP, &sa, NULL);
event_del(&tp->ev_sighup);