diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-24 17:29:57 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-24 17:29:57 +0300 |
commit | 1e53ff184c3b94e08bd17c7318ee73e2317684ad (patch) | |
tree | 4e2b464c82fc760d0caf075bf29e62dd213fb34a /src/nxt_main.c | |
parent | 259b90b9d707fddfd0e70672a48bd228a628b599 (diff) | |
download | unit-1e53ff184c3b94e08bd17c7318ee73e2317684ad.tar.gz unit-1e53ff184c3b94e08bd17c7318ee73e2317684ad.tar.bz2 |
Added command line option --version.
Diffstat (limited to 'src/nxt_main.c')
-rw-r--r-- | src/nxt_main.c | 4 |
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(); |