diff --git a/drive/drive.go b/drive/drive.go index 965289768..57ae0cb85 100644 --- a/drive/drive.go +++ b/drive/drive.go @@ -211,7 +211,7 @@ func (f *FsDrive) String() string { // parseParse parses a drive 'url' func parseDrivePath(path string) (root string, err error) { - root = strings.Trim(root, "/") + root = strings.Trim(path, "/") return }