diff options
Diffstat (limited to 'src/nxt_isolation.c')
-rw-r--r-- | src/nxt_isolation.c | 2 |
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 { |