diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-06-18 17:14:32 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-06-18 17:14:32 +0300 |
commit | 3ad1acca12400f43e14e49add2ce500f38095fb1 (patch) | |
tree | a5672776ac503710caf5a1ab59ba779bb6ee3d60 /src/nxt_worker_process.c | |
parent | cb36b076868496790a1386046c912fa5a2a20866 (diff) | |
download | unit-3ad1acca12400f43e14e49add2ce500f38095fb1.tar.gz unit-3ad1acca12400f43e14e49add2ce500f38095fb1.tar.bz2 |
Fixed exit status on start failure.
This and previous commit close #131 issue on GitHub.
Diffstat (limited to 'src/nxt_worker_process.c')
-rw-r--r-- | src/nxt_worker_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |