Skip to content

Commit

Permalink
master: Don't leak master socket to child processes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Jul 19, 2016
1 parent 2e6356f commit cf6118f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/master/service-listen.c
Expand Up @@ -356,6 +356,7 @@ static int services_listen_master(struct service_list *service_list)

if (service_list->master_fd == -1)
return 0;
fd_close_on_exec(service_list->master_fd, TRUE);
return 1;
}

Expand Down

0 comments on commit cf6118f

Please sign in to comment.