diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-08-16 14:54:40 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-17 08:41:19 +0000 |
commit | cd73f77414586fed66c5d7d81d57448ff1f0b54e (patch) | |
tree | a672253beec63fc21fd9ff2a45d5f9b9a854b01d /utils/utils.go | |
parent | 50afe5b031a6b63f9eca3937a2dd104bf23d4828 (diff) | |
download | podman-cd73f77414586fed66c5d7d81d57448ff1f0b54e.tar.gz podman-cd73f77414586fed66c5d7d81d57448ff1f0b54e.tar.bz2 podman-cd73f77414586fed66c5d7d81d57448ff1f0b54e.zip |
Fix handling of socket connection refusal.
Currently if the socket was never started you get an error about
the service being started. But if the service was started and later
stopped, you get a useless error.
This change causes the error to always be the same for connection refused.
The error message was also repeating the address twice which looked bad.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #1287
Approved by: baude
Diffstat (limited to 'utils/utils.go')
0 files changed, 0 insertions, 0 deletions