artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57490d4
)
Exit on SIGHUP before attach also, GitHub issue 3084.
author
nicm
<nicm@openbsd.org>
Mon, 28 Feb 2022 09:34:57 +0000
(09:34 +0000)
committer
nicm
<nicm@openbsd.org>
Mon, 28 Feb 2022 09:34:57 +0000
(09:34 +0000)
usr.bin/tmux/client.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/client.c
b/usr.bin/tmux/client.c
index
fb95629
..
31218d6
100644
(file)
--- a/
usr.bin/tmux/client.c
+++ b/
usr.bin/tmux/client.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: client.c,v 1.15
6 2021/08/27 17:25:55
nicm Exp $ */
+/* $OpenBSD: client.c,v 1.15
7 2022/02/28 09:34:57
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-530,7
+530,7
@@
client_signal(int sig)
if (sig == SIGCHLD)
waitpid(WAIT_ANY, &status, WNOHANG);
else if (!client_attached) {
- if (sig == SIGTERM)
+ if (sig == SIGTERM
|| sig == SIGHUP
)
proc_exit(client_proc);
} else {
switch (sig) {