Merge pull request #1128 from liubin/fix/1127-delete-wait

runtime: don't wait the second shim process in shim start
This commit is contained in:
James O. D. Hunt
2020-11-18 14:19:11 +00:00
committed by GitHub

View File

@@ -215,8 +215,6 @@ func (s *service) StartShim(ctx context.Context, id, containerdBinary, container
}
}()
// make sure to wait after start
go cmd.Wait()
if err = cdshim.WritePidFile("shim.pid", cmd.Process.Pid); err != nil {
return "", err
}