diff options
author | Matthew Heon <mheon@redhat.com> | 2019-02-14 09:58:38 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-02-14 15:54:34 -0500 |
commit | 2e6fff1f5eaa55ce88799447fdcb8a4145b789c3 (patch) | |
tree | 05846b3ee353eff82c4a8732a40030320523e844 /cmd/podman/logout.go | |
parent | b5653a7f3644fe62f0b50b2193ef3010e2b399dd (diff) | |
download | podman-2e6fff1f5eaa55ce88799447fdcb8a4145b789c3.tar.gz podman-2e6fff1f5eaa55ce88799447fdcb8a4145b789c3.tar.bz2 podman-2e6fff1f5eaa55ce88799447fdcb8a4145b789c3.zip |
Fix error code retrieval for podman start --attach
When we start a container with 'podman run' and it exits and is
removed before we get the code, we grab its exit code from the
Conmon exit file. Podman start --attach wants to do the same, but
was missing the logic. Fix that here.
Also, remove some --rm handling leftover in start. Don't need it
anymore, we have the cleanup process now.
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'cmd/podman/logout.go')
0 files changed, 0 insertions, 0 deletions