aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_delete_empty.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_volume_delete_empty.go')
-rw-r--r--weed/shell/command_volume_delete_empty.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_delete_empty.go b/weed/shell/command_volume_delete_empty.go
index fdc4fcf6a..c98693147 100644
--- a/weed/shell/command_volume_delete_empty.go
+++ b/weed/shell/command_volume_delete_empty.go
@@ -40,7 +40,7 @@ func (c *commandVolumeDeleteEmpty) Do(args []string, commandEnv *CommandEnv, wri
return nil
}
- if err = commandEnv.confirmIsLocked(); err != nil {
+ if err = commandEnv.confirmIsLocked(args); err != nil {
return
}