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_port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_port.c') 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); } -- cgit