mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
new-api: clean up startInitProcess()
Signed-off-by: Andrey Vagin <avagin@openvz.org>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user