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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user