|
@@ -156,7 +156,7 @@ func (daemon *Daemon) ProcessEvent(id string, e libcontainerdtypes.EventType, ei
|
|
|
|
|
|
daemon.LogContainerEvent(c, "oom")
|
|
daemon.LogContainerEvent(c, "oom")
|
|
case libcontainerdtypes.EventExit:
|
|
case libcontainerdtypes.EventExit:
|
|
- if int(ei.Pid) == c.Pid {
|
|
|
|
|
|
+ if ei.ProcessID == ei.ContainerID {
|
|
return daemon.handleContainerExit(c, &ei)
|
|
return daemon.handleContainerExit(c, &ei)
|
|
}
|
|
}
|
|
|
|
|