diff --git a/vfs/vfs.go b/vfs/vfs.go index fc4eb1264..304e23756 100644 --- a/vfs/vfs.go +++ b/vfs/vfs.go @@ -369,7 +369,6 @@ func (vfs *VFS) WaitForWriters(timeout time.Duration) { tick.Reset(tickTime) select { case <-tick.C: - break case <-deadline.C: fs.Errorf(nil, "Exiting even though %d writers active and %d cache items in use after %v\n%s", writers, cacheInUse, timeout, vfs.cache.Dump()) return