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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_main.c b/src/nxt_main.c
index ea2061d6..76cbc0bb 100644
--- a/src/nxt_main.c
+++ b/src/nxt_main.c
@@ -32,7 +32,7 @@ main(int argc, char **argv)
nxt_log_error(NXT_LOG_INFO, thr->log, "nginman started");
- ret = nxt_cycle_create(thr, NULL, NULL, &nxt_config_name, 0);
+ ret = nxt_cycle_create(thr, &nxt_main_task, NULL, NULL, &nxt_config_name);
if (ret != NXT_OK) {
return 1;