From f5c4b642bb805fd5b3b9db91c97d00e5cb377b75 Mon Sep 17 00:00:00 2001 From: chrislu Date: Wed, 16 Aug 2023 23:54:23 -0700 Subject: [PATCH] re-ordering --- weed/mount/weedfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go index 458205366..4ac01b3e6 100644 --- a/weed/mount/weedfs.go +++ b/weed/mount/weedfs.go @@ -106,8 +106,8 @@ func NewSeaweedFileSystem(option *Option) *WFS { }) grace.OnInterrupt(func() { wfs.metaCache.Shutdown() - os.RemoveAll(option.getUniqueCacheDirForRead()) os.RemoveAll(option.getUniqueCacheDirForWrite()) + os.RemoveAll(option.getUniqueCacheDirForRead()) }) if wfs.option.ConcurrentWriters > 0 {