aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-08-16 23:54:23 -0700
committerchrislu <chris.lu@gmail.com>2023-08-16 23:54:23 -0700
commitf5c4b642bb805fd5b3b9db91c97d00e5cb377b75 (patch)
tree093b030eb8a1f584b253c5eb441389d91f3ea5f5 /weed/mount/weedfs.go
parent3852307e9444595f1cf5db15b703493886c3248e (diff)
downloadseaweedfs-f5c4b642bb805fd5b3b9db91c97d00e5cb377b75.tar.xz
seaweedfs-f5c4b642bb805fd5b3b9db91c97d00e5cb377b75.zip
re-ordering
Diffstat (limited to 'weed/mount/weedfs.go')
-rw-r--r--weed/mount/weedfs.go2
1 files changed, 1 insertions, 1 deletions
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 {