diff options
author | Tiago Natel <t.nateldemoura@f5.com> | 2019-10-11 10:00:06 +0000 |
---|---|---|
committer | Tiago Natel <t.nateldemoura@f5.com> | 2019-10-11 10:00:06 +0000 |
commit | 0beb8ea5e13befbe607a107c3e8093226848811a (patch) | |
tree | 57d3134a7c3027bc5304365e295192911e220a5f /src/nxt_main_process.c | |
parent | 09e7357b085aab4f29bdadceee112bd7a8ccf706 (diff) | |
download | unit-0beb8ea5e13befbe607a107c3e8093226848811a.tar.gz unit-0beb8ea5e13befbe607a107c3e8093226848811a.tar.bz2 |
Fixed passing false in namespace flags.
This patch closes #328 in github.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_main_process.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index 84f6e2a2..4e55dcfa 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -1600,11 +1600,9 @@ nxt_init_set_ns(nxt_task_t *task, nxt_process_init_t *init, return NXT_ERROR; } - if (nxt_conf_get_integer(value) == 0) { - continue; /* process shares everything by default */ + if (nxt_conf_get_boolean(value)) { + init->isolation.clone.flags |= flag; } - - init->isolation.clone.flags |= flag; } return NXT_OK; |