summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_main.c')
-rw-r--r--src/nxt_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_main.c b/src/nxt_main.c
index 7cd032d5..6f7aec39 100644
--- a/src/nxt_main.c
+++ b/src/nxt_main.c
@@ -24,14 +24,14 @@ main(int argc, char **argv)
nxt_main_log.handler = nxt_log_time_handler;
- nxt_log(&nxt_main_task, NXT_LOG_INFO, "nginext started");
-
ret = nxt_runtime_create(&nxt_main_task);
if (ret != NXT_OK) {
return 1;
}
+ nxt_log(&nxt_main_task, NXT_LOG_INFO, "nginext started");
+
nxt_event_engine_start(nxt_main_task.thread->engine);
nxt_unreachable();