diff --git a/client.go b/client.go index 1d720119..0df125e1 100644 --- a/client.go +++ b/client.go @@ -957,12 +957,9 @@ func (c *Client) RemoveAll(path string) error { } } - // Delete the empty directory - return c.Remove(path) - } - return nil + return c.Remove(path) }