mirror of
https://github.com/containers/podman.git
synced 2025-07-28 10:52:35 +08:00

Waiting on an initialized sync.WaitGroup returns immediately. Hence, move the goroutine to wait and close *after* reading the logs. Fixes: #12904 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>