Merge pull request #1771 from sboeuf/fix_exec
libcontainer: Don't set container state to running when exec'ing
This commit is contained in:
commit
cc4307ab66
|
@ -377,10 +377,6 @@ func (c *linuxContainer) start(process *Process, isInit bool) error {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
c.state = &runningState{
|
||||
c: c,
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue