diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-24 02:20:37 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-24 02:20:37 -0700 |
| commit | 0820935290d56fb90c7336552e52155f32035e80 (patch) | |
| tree | 5bfc4bd8723c8af6d0be196812fade15b8a147c7 /weed/shell/command_volume_fsck.go | |
| parent | 49440cbd2f668ecdb4f7c7f145e4725e7c0b7020 (diff) | |
| download | seaweedfs-0820935290d56fb90c7336552e52155f32035e80.tar.xz seaweedfs-0820935290d56fb90c7336552e52155f32035e80.zip | |
clean up
Diffstat (limited to 'weed/shell/command_volume_fsck.go')
| -rw-r--r-- | weed/shell/command_volume_fsck.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go index d06782f3b..e419a7fc2 100644 --- a/weed/shell/command_volume_fsck.go +++ b/weed/shell/command_volume_fsck.go @@ -91,6 +91,8 @@ func (c *commandVolumeFsck) Do(args []string, commandEnv *CommandEnv, writer io. fmt.Fprintf(writer, "no orphan data\n") } + os.RemoveAll(tempFolder) + return nil } |
