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