summaryrefslogtreecommitdiff
path: root/client
diff options
authorKyle Fazzari <kyle@canonical.com>2016-08-26 14:29:39 -0700
committerKyle Fazzari <kyle@canonical.com>2016-08-26 14:29:39 -0700
commit8cb6af9c2910acf8ff6f9139f8de786ea7e63b83 (patch)
tree3b1d7985ff9302ab0c529a0f6e6e77a44ea04c10 /client
parent97d93166a7362d81e18ff45341fc1d612157d056 (diff)
add strongly-worded warning to snapd.socket file about ordering.
Signed-off-by: Kyle Fazzari <kyle@canonical.com>
Diffstat (limited to 'client')
-rw-r--r--client/client.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/client/client.go b/client/client.go
index 1a547184a7..ea38858f03 100644
--- a/client/client.go
+++ b/client/client.go
@@ -46,7 +46,6 @@ func unixDialer() func(string, string) (net.Conn, error) {
if err == nil {
file.Close()
} else if e, ok := err.(*os.PathError); ok && (e.Err == syscall.ENOENT || e.Err == syscall.EACCES) {
- // Unable to open socket: fallback.
socketPath = dirs.SnapSocket
}