ing
This commit is contained in:
parent
9317f5316d
commit
c479442b6f
|
@ -139,11 +139,11 @@ func (cs *ContainerSession) killContainer() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
if nil == cs.cmd.ProcessState || !cs.cmd.ProcessState.Exited() {
|
||||
if err := cs.cmd.Process.Kill(); nil != err {
|
||||
return err
|
||||
}
|
||||
// if nil == cs.cmd.ProcessState || !cs.cmd.ProcessState.Exited() {
|
||||
if err := cs.cmd.Process.Kill(); nil != err {
|
||||
return err
|
||||
}
|
||||
// }
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user