aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/mount_std.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index e4209449a..f00daba8a 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -284,5 +284,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
server.Serve()
+ seaweedFileSystem.ClearCacheDir()
+
return true
}