Add proper handling for SIGKILL'ed shim
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
@@ -253,6 +253,8 @@ func (c *container) Delete() error {
|
||||
args = append(args, "delete", c.id)
|
||||
if b, derr := exec.Command(c.runtime, args...).CombinedOutput(); err != nil {
|
||||
err = fmt.Errorf("%s: %q", derr, string(b))
|
||||
} else if len(b) > 0 {
|
||||
logrus.Debugf("%v %v: %q", c.runtime, args, string(b))
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user