mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-23 09:47:25 +00:00
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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user