From 49896ab0f473054d4a936634f6d451552b9c20cc Mon Sep 17 00:00:00 2001 From: Ted Yu Date: Wed, 1 Apr 2020 16:15:23 -0700 Subject: [PATCH] Avoid double close of criuServer Signed-off-by: Ted Yu --- libcontainer/container_linux.go | 1 - 1 file changed, 1 deletion(-) diff --git a/libcontainer/container_linux.go b/libcontainer/container_linux.go index aa150244e..1da2d3ce0 100644 --- a/libcontainer/container_linux.go +++ b/libcontainer/container_linux.go @@ -1488,7 +1488,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