aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_vacuum.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_volume_vacuum.go')
-rw-r--r--weed/shell/command_volume_vacuum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_vacuum.go b/weed/shell/command_volume_vacuum.go
index fc454c9ff..37b8aa030 100644
--- a/weed/shell/command_volume_vacuum.go
+++ b/weed/shell/command_volume_vacuum.go
@@ -34,7 +34,7 @@ func (c *commandVacuum) Do(args []string, commandEnv *CommandEnv, writer io.Writ
collection := volumeVacuumCommand.String("collection", "", "vacuum this collection")
volumeId := volumeVacuumCommand.Uint("volumeId", 0, "the volume id")
if err = volumeVacuumCommand.Parse(args); err != nil {
- return
+ return nil
}
if err = commandEnv.confirmIsLocked(args); err != nil {