diff --git a/fs/walk/walk.go b/fs/walk/walk.go index 2b4a46f0b..6faeff34e 100644 --- a/fs/walk/walk.go +++ b/fs/walk/walk.go @@ -103,7 +103,7 @@ func walk(f fs.Fs, path string, includeAll bool, maxLevel int, fn Func, listDir doClose.Do(func() { close(quit) go func() { - for _ = range in { + for range in { traversing.Done() } }()