diff options
author | nicm <nicm> | 2022-02-28 09:34:57 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:50 +0100 |
commit | 42e795933625dbda27e3c0a453fc7d0fbf4bb758 (patch) | |
tree | 2964f3e37dda0c2ef12519877da9511ff544e2d9 | |
parent | 9947f7416a3e43c30abcfbc5092c7e3e7b122dcb (diff) | |
download | rtmux-42e795933625dbda27e3c0a453fc7d0fbf4bb758.tar.gz rtmux-42e795933625dbda27e3c0a453fc7d0fbf4bb758.tar.bz2 rtmux-42e795933625dbda27e3c0a453fc7d0fbf4bb758.zip |
Exit on SIGHUP before attach also, GitHub issue 3084.
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -531,7 +531,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) { |