diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-01-31 14:59:49 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-01-31 16:13:00 +0100 |
commit | 868ee6db7057a63e09dc67b7448a6f13efcdddd3 (patch) | |
tree | 17158d0452a78b353675638a3ad3741329775f4b /pkg/api | |
parent | 36af2833f954e1c822b917ecff45c05858188c2d (diff) | |
download | podman-868ee6db7057a63e09dc67b7448a6f13efcdddd3.tar.gz podman-868ee6db7057a63e09dc67b7448a6f13efcdddd3.tar.bz2 podman-868ee6db7057a63e09dc67b7448a6f13efcdddd3.zip |
sigproxy: return after closing the channel
When stopping signal handling (e.g., to properly handle ^C) we are also
closing the signal channel. We should really return from the go-routine
instead of continuing and risking double-closing the channel which leads
to a panic.
Fixes: #5034
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api')
0 files changed, 0 insertions, 0 deletions