drive: Fix path parsing

This commit is contained in:
Nick Craig-Wood 2014-03-27 17:49:36 +00:00
parent b0064e6405
commit bc221fb27e
1 changed files with 1 additions and 1 deletions

View File

@ -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
}