Add proper handling for SIGKILL'ed shim
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
dd71165fc6
commit
fe5f3d5581
4 changed files with 104 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue