mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-19 21:03:57 -07:00
Improved RPC connection cleanup logic
This commit is contained in:
parent
b203d25656
commit
2f4628520b
2 changed files with 37 additions and 5 deletions
|
@ -375,8 +375,7 @@ int socket(SOCKET_SIG)
|
|||
|
||||
char cmd[BUF_SZ];
|
||||
fdret_sock = !is_initialized ? init_service_connection() : fdret_sock;
|
||||
if(fdret_sock < 0)
|
||||
{
|
||||
if(fdret_sock < 0) {
|
||||
dwr("BAD service connection. exiting.\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue