diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-06-18 17:14:30 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-06-18 17:14:30 +0300 |
commit | cb36b076868496790a1386046c912fa5a2a20866 (patch) | |
tree | 6aa34fd5ae23168b5eb3e4f1506323dc10607774 /src/nxt_main_process.c | |
parent | 6273819080584460db7a7a65fc69c3f92a84b05b (diff) | |
download | unit-cb36b076868496790a1386046c912fa5a2a20866.tar.gz unit-cb36b076868496790a1386046c912fa5a2a20866.tar.bz2 |
Removing Unix control socket on start failure.
The bug had appeared in 5cc5002a788e when process type has been
converted to bitmask. This commit reverts the type back to a number.
This commit is related to #131 issue on GitHub.
Diffstat (limited to 'src/nxt_main_process.c')
-rw-r--r-- | src/nxt_main_process.c | 2 |
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; |