diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-01-27 19:31:35 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-01-27 19:31:35 +0000 |
commit | c0dbce0016df534517a059c590c10c45dc3af017 (patch) | |
tree | 8208bcdb6f203519cb089de9905c9e9879eda3a1 /sbin/hastd | |
parent | 94bf851dc164d696adbf1db5838945f6164ff90c (diff) | |
download | src-c0dbce0016df534517a059c590c10c45dc3af017.tar.gz src-c0dbce0016df534517a059c590c10c45dc3af017.zip |
Close the control socket before exiting, so it will be unlinked.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=217967
Diffstat (limited to 'sbin/hastd')
-rw-r--r-- | sbin/hastd/hastd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/hastd/hastd.c b/sbin/hastd/hastd.c index 37c2bf5cc931..c2064e75e832 100644 --- a/sbin/hastd/hastd.c +++ b/sbin/hastd/hastd.c @@ -666,6 +666,7 @@ main_loop(void) case SIGTERM: sigexit_received = true; terminate_workers(); + proto_close(cfg->hc_controlconn); exit(EX_OK); break; case SIGCHLD: |