aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/main.go b/app/main.go
index 992c3c3..60585b4 100644
--- a/app/main.go
+++ b/app/main.go
@@ -34,7 +34,8 @@ func main() {
}
cmd.SysProcAttr = &syscall.SysProcAttr{
- Chroot: tmpDir,
+ Chroot: tmpDir,
+ Cloneflags: syscall.CLONE_NEWPID,
}
err = cmd.Run()