diff --git a/libdokan/folderlist.go b/libdokan/folderlist.go
index <HASH>..<HASH> 100644
--- a/libdokan/folderlist.go
+++ b/libdokan/folderlist.go
@@ -150,7 +150,7 @@ func (fl *FolderList) FindFiles(fi *dokan.FileInfo, callback func(*dokan.NamedSt
 
 	var favs []*libkbfs.Favorite
 	if isLoggedIn {
-		favs, err := fl.fs.config.KBFSOps().GetFavorites(ctx)
+		favs, err = fl.fs.config.KBFSOps().GetFavorites(ctx)
 		fl.fs.log.CDebugf(ctx, "FL ReadDirAll -> %v,%v", favs, err)
 		if err != nil {
 			return err
libdokan: fix folderlist readdir