new-api: clean up startInitProcess()
Signed-off-by: Andrey Vagin <avagin@openvz.org>
This commit is contained in:
parent
13841ef37d
commit
11ce56a9e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue