Do not do a read on the root on connect

This commit is contained in:
Keith Ball 2016-10-21 15:05:50 +02:00 committed by Christoph Polcin
parent 9c695fe0df
commit 73b90bf27e

View File

@ -67,11 +67,6 @@ func (c *Client) Connect() error {
return newPathError("Connect", c.root, rs.StatusCode) return newPathError("Connect", c.root, rs.StatusCode)
} }
_, err = c.ReadDir("/")
if err != nil {
return err
}
return nil return nil
} }