libcontainer: signalAllProcesses(): log warning when failing to thaw
I noticed this was the only place in this function where we didn't
handle errors on freezing/thawing. Logging as a warning, consistent
with the other cases.
@@ -484,7 +484,9 @@ func signalAllProcesses(m cgroups.Manager, s os.Signal) error {
}
pids, err := m.GetAllPids()
if err != nil {
- m.Freeze(configs.Thawed)
+ if err := m.Freeze(configs.Thawed); err != nil {
+ logrus.Warn(err)
+ }
return err
}
for _, pid := range pids {
