Skip to content

Commit

Permalink
TCP child startup: do not generate corefile on failure
Browse files Browse the repository at this point in the history
(cherry picked from commit cbaf569)
  • Loading branch information
liviuchircu committed Mar 24, 2015
1 parent 84627c6 commit 2e35bd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tcp_main.c
Expand Up @@ -1854,7 +1854,9 @@ int tcp_init_children(int *chd_rank, int *startup_done)
LM_ERR("failed to send status code\n");
clean_write_pipeend();

*startup_done = -1;
if (startup_done)
*startup_done = -1;

exit(-1);
}

Expand Down

0 comments on commit 2e35bd7

Please sign in to comment.