mirror of
https://github.com/containers/podman.git
synced 2025-06-10 09:47:25 +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>