diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-09-14 16:52:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 16:52:13 -0400 |
commit | 040555534532de45c84b8bcf09a6e6e59144b43b (patch) | |
tree | d68b35ff6f014f30a7beb308e85e111faa25ed40 /cmd/podman/start.go | |
parent | 8541ed41e4dde12173e9f488f136f216d099274e (diff) | |
parent | 9ec82caa3147d7afaf9361748661c8868194d132 (diff) | |
download | podman-040555534532de45c84b8bcf09a6e6e59144b43b.tar.gz podman-040555534532de45c84b8bcf09a6e6e59144b43b.tar.bz2 podman-040555534532de45c84b8bcf09a6e6e59144b43b.zip |
Merge pull request #1434 from rhatdan/wait
Add --interval flag to podman wait
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 cb65ec6d4..a80d0e1e8 100644 --- a/cmd/podman/start.go +++ b/cmd/podman/start.go @@ -115,7 +115,7 @@ func startCmd(c *cli.Context) error { return errors.Wrapf(err, "unable to start container %s", ctr.ID()) } - if ecode, err := ctr.Wait(); err != nil { + if ecode, err := ctr.Wait(libpod.WaitTimeout); err != nil { logrus.Errorf("unable to get exit code of container %s: %q", ctr.ID(), err) } else { exitCode = int(ecode) |