Do not do a read on the root on connect

This commit is contained in:
Keith Ball authored and Christoph Polcin committed 2018-05-16 14:17:35 +02:00
1 parent 9c695fe0df
commit 73b90bf27e
1 file changed
-5
-5
View File
@@ -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
}