summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_isolation.c
diff options
context:
space:
mode:
authorTiago Natel de Moura <t.nateldemoura@f5.com>2020-09-16 17:52:53 +0100
committerTiago Natel de Moura <t.nateldemoura@f5.com>2020-09-16 17:52:53 +0100
commit77ecb6ab49257dd662aa9c461fed3dc1d74e5092 (patch)
tree8f403da84ff4bc88631a9333374c645ed31262ca /src/nxt_isolation.c
parentd5973fb557c6eca95da671f80637955b5eca00d3 (diff)
downloadunit-77ecb6ab49257dd662aa9c461fed3dc1d74e5092.tar.gz
unit-77ecb6ab49257dd662aa9c461fed3dc1d74e5092.tar.bz2
Isolation: remove redundant macro.
Diffstat (limited to '')
-rw-r--r--src/nxt_isolation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_isolation.c b/src/nxt_isolation.c
index a497b729..0ff63e50 100644
--- a/src/nxt_isolation.c
+++ b/src/nxt_isolation.c
@@ -707,7 +707,7 @@ nxt_isolation_change_root(nxt_task_t *task, nxt_process_t *process)
nxt_debug(task, "change root: %s", rootfs);
- if (NXT_CLONE_MNT(process->isolation.clone.flags)) {
+ if (nxt_is_clone_flag_set(process->isolation.clone.flags, NEWNS)) {
ret = nxt_isolation_pivot_root(task, rootfs);
} else {