diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-03-31 11:15:13 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-02 09:15:56 +0200 |
commit | 4c02aa46c2873eaa89060f97f28a0c41c500ff90 (patch) | |
tree | a75c8de438eff4f040faf04d5c2cb2c35f42cb03 /libpod/image/parts_test.go | |
parent | 88455fe704023d65b782e70fc774128b3ec76569 (diff) | |
download | podman-4c02aa46c2873eaa89060f97f28a0c41c500ff90.tar.gz podman-4c02aa46c2873eaa89060f97f28a0c41c500ff90.tar.bz2 podman-4c02aa46c2873eaa89060f97f28a0c41c500ff90.zip |
attach: fix hang if control path is deleted
if the control path file is deleted, libpod hangs waiting for a reader
to open it. Attempt to open it as non blocking until it returns an
error different than EINTR or EAGAIN.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/image/parts_test.go')
0 files changed, 0 insertions, 0 deletions