summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main_process.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_main_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c
index e80034c4..71a871df 100644
--- a/src/nxt_main_process.c
+++ b/src/nxt_main_process.c
@@ -80,7 +80,7 @@ nxt_int_t
nxt_main_process_start(nxt_thread_t *thr, nxt_task_t *task,
nxt_runtime_t *rt)
{
- rt->types |= (1U << NXT_PROCESS_MAIN);
+ rt->type = NXT_PROCESS_MAIN;
if (nxt_main_process_port_create(task, rt) != NXT_OK) {
return NXT_ERROR;