From 11ce56a9e07e88f41f0455d0a1e4fdec7d779850 Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Tue, 23 Dec 2014 16:10:22 +0300 Subject: [PATCH] new-api: clean up startInitProcess() Signed-off-by: Andrey Vagin --- linux_container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux_container.go b/linux_container.go index ea202df4..555e93b8 100644 --- a/linux_container.go +++ b/linux_container.go @@ -124,7 +124,7 @@ func (c *linuxContainer) updateStateFile() error { } func (c *linuxContainer) startInitProcess(config *ProcessConfig) error { - cmd := exec.Command(c.initArgs[0], append(c.initArgs[1:], config.Args...)...) + cmd := exec.Command(c.initArgs[0], c.initArgs[1:]...) cmd.Stdin = config.Stdin cmd.Stdout = config.Stdout cmd.Stderr = config.Stderr