diff options
Diffstat (limited to 'src/sandbox.c')
-rw-r--r-- | src/sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sandbox.c b/src/sandbox.c index 15c87b2..c668ab6 100644 --- a/src/sandbox.c +++ b/src/sandbox.c @@ -160,7 +160,7 @@ static int spawn_shell(char *argv_bash[], char **env, int debug) int status = 0; int ret = 0; - child_pid = fork(); + child_pid = opt_use_namespaces ? setup_namespaces() : fork(); /* Child's process */ if (0 == child_pid) { |