Merge pull request #2284 from tedyu/criu-svr-close

Avoid double close of criuServer
This commit is contained in:
Michael Crosby 2020-04-02 14:07:35 -04:00 committed by GitHub
commit b26e4f27c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1498,7 +1498,6 @@ func (c *linuxContainer) criuSwrk(process *Process, req *criurpc.CriuReq, opts *
if err := cmd.Start(); err != nil {
return err
}
criuServer.Close()
// cmd.Process will be replaced by a restored init.
criuProcess := cmd.Process