diff options
author | Matthew Heon <mheon@redhat.com> | 2019-02-12 13:11:07 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2019-02-12 13:11:07 -0500 |
commit | 28ee842b769b5ac4ff9a99a6c21fc66a4d011b9b (patch) | |
tree | 0322715393639eae77096f96cf540a6da8b92c5a /cmd/podman/start.go | |
parent | 19a03976f73d21a821a07ae5f24250a4ceaee33a (diff) | |
download | podman-28ee842b769b5ac4ff9a99a6c21fc66a4d011b9b.tar.gz podman-28ee842b769b5ac4ff9a99a6c21fc66a4d011b9b.tar.bz2 podman-28ee842b769b5ac4ff9a99a6c21fc66a4d011b9b.zip |
Address review comments on #2319
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'cmd/podman/start.go')
-rw-r--r-- | cmd/podman/start.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/start.go b/cmd/podman/start.go index 1de258aa4..d1434508d 100644 --- a/cmd/podman/start.go +++ b/cmd/podman/start.go @@ -108,7 +108,7 @@ func startCmd(c *cliconfig.StartValues) error { // attach to the container and also start it not already running err = startAttachCtr(ctr, os.Stdout, os.Stderr, inputStream, c.DetachKeys, sigProxy, !ctrRunning) - if err == libpod.ErrDetach { + if errors.Cause(err) == libpod.ErrDetach { // User manually detached // Exit cleanly immediately exitCode = 0 |