Restore StdFds from the state file

Signed-off-by: Andrey Vagin <avagin@openvz.org>
This commit is contained in:
Andrey Vagin 2015-04-29 14:15:47 +03:00 committed by Michael Crosby
parent 3d59a7fe8b
commit 6ecf32c234
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ func (l *LinuxFactory) Load(id string) (Container, error) {
r := &nonChildProcess{
processPid: state.InitProcessPid,
processStartTime: state.InitProcessStartTime,
fds: state.StdFds,
}
return &linuxContainer{
initProcess: r,