X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fcontrol.c;h=f7d67ac3f763366edce35840078a74eb1a9aeacb;hp=1f562134d4f7517d8e2c8a1dd71a3a1817758844;hb=09b0b49b98cc16f6b281e4e635c2c70234e38865;hpb=8f8424445810aa7d5e9d4d537494e64811a8e29f diff --git a/src/control.c b/src/control.c index 1f562134..f7d67ac3 100644 --- a/src/control.c +++ b/src/control.c @@ -215,6 +215,7 @@ bool init_control(void) { void exit_control(void) { #ifndef HAVE_MINGW + unlink(unixsocketname); io_del(&unix_socket); close(unix_socket.fd); #endif