summaryrefslogtreecommitdiff
path: root/internal/namespace/namespace.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/namespace/namespace.go')
-rw-r--r--internal/namespace/namespace.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/namespace/namespace.go b/internal/namespace/namespace.go
index 98d73b6..5e31b9d 100644
--- a/internal/namespace/namespace.go
+++ b/internal/namespace/namespace.go
@@ -84,14 +84,9 @@ func Bootstrap() error {
// 3. Prepare arguments for the launcher.
// The launcher expects: launcher <command_to_run> [args...]
- // syscall.Exec's second argument is the argv array.
- // argv[0] is set by the kernel to the launcherPath.
- // So our first slice element becomes argv[1].
args := []string{self}
args = append(args, os.Args[1:]...)
- fmt.Printf("[bootstrap] Execing launcher with args: %v\n", args)
-
// 4. Replace the current process with the launcher.
err = syscall.Exec(launcherPath, args, os.Environ())
if err != nil {