diff --git a/client.c b/client.c index cb64205e..8a0a0673 100644 --- a/client.c +++ b/client.c @@ -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) {