Implement reaper with runc support in shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
df48983fe7
commit
9f3240364f
3 changed files with 9 additions and 5 deletions
|
@ -365,7 +365,7 @@ func handleSignals(signals chan os.Signal, server *grpc.Server) error {
|
|||
log.G(global).WithField("signal", s).Debug("received signal")
|
||||
switch s {
|
||||
case syscall.SIGCHLD:
|
||||
if err := reaper.Reap(); err != nil {
|
||||
if _, err := reaper.Reap(); err != nil {
|
||||
log.G(global).WithError(err).Error("reap containerd processes")
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue