From 96a777c1ba8fadbf76224f36f02aa498b2bc68f9 Mon Sep 17 00:00:00 2001 From: tbs60 Date: Fri, 25 Aug 2023 15:46:20 +0800 Subject: [PATCH] fix: comment new parameter for fork, issue: #114 --- src/backend/booster/bk_dist/common/syscall/syscall_unix.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/booster/bk_dist/common/syscall/syscall_unix.go b/src/backend/booster/bk_dist/common/syscall/syscall_unix.go index e4911c05..2ed7baf4 100644 --- a/src/backend/booster/bk_dist/common/syscall/syscall_unix.go +++ b/src/backend/booster/bk_dist/common/syscall/syscall_unix.go @@ -62,9 +62,9 @@ func RunServer(command string) error { // in case of the signals sent to the caller affect the process as well func GetSysProcAttr() *syscall.SysProcAttr { return &syscall.SysProcAttr{ - Setpgid: true, - Pgid: 0, - Cloneflags: syscall.CLONE_NEWPID | syscall.CLONE_NEWNS, + Setpgid: true, + Pgid: 0, + // Cloneflags: syscall.CLONE_NEWPID | syscall.CLONE_NEWNS, } }