diff options
-rw-r--r-- | src/nxt_application.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c index f63b90fb..468bc627 100644 --- a/src/nxt_application.c +++ b/src/nxt_application.c @@ -333,10 +333,7 @@ nxt_app_start(nxt_task_t *task, void *data) ret = nxt_app->pre_init(task, data); if (nxt_slow_path(ret != NXT_OK)) { - nxt_debug(task, "application pre_init failed"); - - } else { - nxt_debug(task, "application pre_init done"); + return ret; } } |