From 3ad1acca12400f43e14e49add2ce500f38095fb1 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 18 Jun 2018 17:14:32 +0300 Subject: Fixed exit status on start failure. This and previous commit close #131 issue on GitHub. --- src/nxt_worker_process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_worker_process.c') diff --git a/src/nxt_worker_process.c b/src/nxt_worker_process.c index bf35f2b5..7ba92dea 100644 --- a/src/nxt_worker_process.c +++ b/src/nxt_worker_process.c @@ -97,7 +97,7 @@ nxt_worker_process_quit(nxt_task_t *task) rt->listen_sockets->nelts = 0; } - nxt_runtime_quit(task); + nxt_runtime_quit(task, 0); } @@ -124,7 +124,7 @@ nxt_worker_process_sigterm_handler(nxt_task_t *task, void *obj, void *data) /* A fast exit. */ - nxt_runtime_quit(task); + nxt_runtime_quit(task, 0); } -- cgit