mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
Call the wait endpoint right away when a container is started and not only when attach is done, this allows us for wait to work when the container has been removed otherwise (i.e. podman-remote run --rm). In that case it was possible that wait failed and we then fall back to reading events. However based on some reports there seems to be the chance that the event readin is not working for them either and returns a bad error "Cannot get exit code: <nil>" which does not help anybody. Signed-off-by: Paul Holzinger <pholzing@redhat.com>