mirror of https://github.com/containers/podman.git
Merge pull request #5536 from giuseppe/avoid-conmon-zombie
podman: avoid conmon zombie on exec
This commit is contained in:
commit
f08b992f3b
|
@ -774,6 +774,10 @@ func (r *ConmonOCIRuntime) ExecContainer(c *Container, sessionID string, options
|
||||||
}()
|
}()
|
||||||
attachToExecCalled = true
|
attachToExecCalled = true
|
||||||
|
|
||||||
|
if err := execCmd.Wait(); err != nil {
|
||||||
|
return -1, nil, errors.Wrapf(err, "cannot run conmon")
|
||||||
|
}
|
||||||
|
|
||||||
pid, err := readConmonPipeData(parentSyncPipe, ociLog)
|
pid, err := readConmonPipeData(parentSyncPipe, ociLog)
|
||||||
|
|
||||||
return pid, attachChan, err
|
return pid, attachChan, err
|
||||||
|
|
Loading…
Reference in New Issue