diff --git a/drive/drive.go b/drive/drive.go index 83a8a5da9..0aca61645 100644 --- a/drive/drive.go +++ b/drive/drive.go @@ -559,7 +559,7 @@ func (f *FsDrive) List() fs.ObjectsChan { fs.Stats.Error() log.Printf("Couldn't find root: %s", err) } else { - if *driveFullList { + if f.root == "" && *driveFullList { err = f.listDirFull(f.rootId, "", out) } else { err = f.listDirRecursive(f.rootId, "", out)