summaryrefslogtreecommitdiff
path: root/cmd/podman/run.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-04-03 18:24:54 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-04-04 01:09:23 +0000
commiteb0d5dfff1ecec97df71247bfb76748d60a666dc (patch)
treeeb25455c62cb58a090196a2d50b545d94bc1bd0e /cmd/podman/run.go
parent35a10c9ba541807b96b01cc66f79c72606d9ed99 (diff)
downloadpodman-eb0d5dfff1ecec97df71247bfb76748d60a666dc.tar.gz
podman-eb0d5dfff1ecec97df71247bfb76748d60a666dc.tar.bz2
podman-eb0d5dfff1ecec97df71247bfb76748d60a666dc.zip
Prevent a potential race when stopping containers
If sending a signal fails, check if the container is alive. If it is not, it probably stopped on its own before we could send the signal, so don't error out. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #591 Approved by: rhatdan
Diffstat (limited to 'cmd/podman/run.go')
0 files changed, 0 insertions, 0 deletions