summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-06-18 17:14:32 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-06-18 17:14:32 +0300
commit3ad1acca12400f43e14e49add2ce500f38095fb1 (patch)
treea5672776ac503710caf5a1ab59ba779bb6ee3d60 /src/nxt_port.c
parentcb36b076868496790a1386046c912fa5a2a20866 (diff)
downloadunit-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_port.c')
-rw-r--r--src/nxt_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_port.c b/src/nxt_port.c
index 6ccdfab5..ae08b71d 100644
--- a/src/nxt_port.c
+++ b/src/nxt_port.c
@@ -177,7 +177,7 @@ nxt_port_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
void
nxt_port_quit_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
{
- nxt_runtime_quit(task);
+ nxt_runtime_quit(task, 0);
}