mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-13 07:37:15 +03:00
prevent children from continuing the parent's work in case of failure
This commit is contained in:
parent
4dfb4d300a
commit
e428fc505c
@ -224,6 +224,8 @@ void main_loop(struct listen_endpoint listen_sockets[], int num_addr_listen)
|
||||
print_message(msg_config_error, "UDP not (yet?) supported in sslh-fork\n");
|
||||
else
|
||||
tcp_listener(listen_sockets, num_addr_listen, i);
|
||||
|
||||
exit(0);
|
||||
break;
|
||||
|
||||
/* We're in the parent, we don't need to do anything */
|
||||
|
Loading…
x
Reference in New Issue
Block a user