Skip to content

Commit

Permalink
test exitcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlallemand committed Oct 15, 2024
1 parent eb1c090 commit 8efecf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mworker.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ void mworker_catch_sigchld(struct sig_handler *sh)
ha_warning("Process %d exited with code %d (%s)\n", exitpid, status, (status >= 128) ? strsignal(status - 128) : "Exit");
} else if (child->options & PROC_O_INIT) {
on_new_child_failure();
exitcode = status;

/* Detach all listeners */
for (curproxy = proxies_list; curproxy; curproxy = curproxy->next) {
Expand Down

0 comments on commit 8efecf6

Please sign in to comment.