From 73b90bf27e5e5a5fc1edec797deb2aae8ee52f19 Mon Sep 17 00:00:00 2001 From: Keith Ball Date: Fri, 21 Oct 2016 15:05:50 +0200 Subject: [PATCH] Do not do a read on the root on connect --- client.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client.go b/client.go index 66cc293..9b4b3d1 100644 --- a/client.go +++ b/client.go @@ -67,11 +67,6 @@ func (c *Client) Connect() error { return newPathError("Connect", c.root, rs.StatusCode) } - _, err = c.ReadDir("/") - if err != nil { - return err - } - return nil }