Close the control socket before exiting, so it will be unlinked.
MFC after: 1 week
This commit is contained in:
parent
94bf851dc1
commit
c0dbce0016
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user