mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-10 22:33:19 -05:00
BUG/MEDIUM: remove debugging code from systemd-wrapper
Kristoffer Grnlund reported that after my recent update to the systemd-wrapper, I accidentely left the debugging code which consists in disabling the fork :-( The fix needs to be backported to 1.5 as well since I pushed it there as well.
This commit is contained in:
parent
ceaf2aec1e
commit
a55bbc64d8
1 changed files with 1 additions and 2 deletions
|
|
@ -70,8 +70,7 @@ static void spawn_haproxy(char **pid_strv, int nb_pid)
|
|||
main_argc = wrapper_argc - 1;
|
||||
main_argv = wrapper_argv + 1;
|
||||
|
||||
//pid = fork();
|
||||
pid=0;
|
||||
pid = fork();
|
||||
if (!pid) {
|
||||
/* 3 for "haproxy -Ds -sf" */
|
||||
char **argv = calloc(4 + main_argc + nb_pid + 1, sizeof(char *));
|
||||
|
|
|
|||
Loading…
Reference in a new issue