diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2004-09-07 23:41:31 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2004-09-07 23:41:31 +0000 |
commit | 9ec0df2b975fd06441a89e1747a11f44b35318e7 (patch) | |
tree | dbcfbad6b4f9a1734fc2d93f6a059f5af16b3059 /usr.bin/ssh/ssh.c | |
parent | 7102d8a619ca6d05b34c913c5ea0e17d1e6307a0 (diff) |
cleanup multiplex control socket on SIGHUP too, spotted by sturm@
ok markus@ deraadt@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 7c5625b49a1..4b070e7baf0 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.225 2004/08/23 14:26:38 dtucker Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.226 2004/09/07 23:41:30 djm Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -1313,6 +1313,7 @@ control_client(const char *path) fatal("%s: master returned error", __func__); buffer_free(&m); + signal(SIGHUP, control_client_sighandler); signal(SIGINT, control_client_sighandler); signal(SIGTERM, control_client_sighandler); signal(SIGWINCH, control_client_sigrelay); |