new-api: clean up startInitProcess()

Signed-off-by: Andrey Vagin <avagin@openvz.org>
This commit is contained in:
Andrey Vagin 2014-12-23 16:10:22 +03:00
parent 13841ef37d
commit 11ce56a9e0
1 changed files with 1 additions and 1 deletions

View File

@ -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