mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 10:54:48 +08:00
vfs: fix issue where empty dirs would build up in cache meta dir
This commit is contained in:
parent
9a2811f0b2
commit
18be4ad10d
|
@ -100,7 +100,7 @@ func New(ctx context.Context, fremote fs.Fs, opt *vfscommon.Options, avFn AddVir
|
|||
if err != nil {
|
||||
return nil, errors.Wrap(err, "failed to create cache remote")
|
||||
}
|
||||
fcacheMeta, err := fscache.Get(ctx, root)
|
||||
fcacheMeta, err := fscache.Get(ctx, metaRoot)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "failed to create cache meta remote")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user