aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_mark.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_volume_mark.go')
-rw-r--r--weed/shell/command_volume_mark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_mark.go b/weed/shell/command_volume_mark.go
index 7734ea9ce..53c2265b0 100644
--- a/weed/shell/command_volume_mark.go
+++ b/weed/shell/command_volume_mark.go
@@ -44,7 +44,7 @@ func (c *commandVolumeMark) Do(args []string, commandEnv *CommandEnv, writer io.
markWritable = true
}
- if err = commandEnv.confirmIsLocked(); err != nil {
+ if err = commandEnv.confirmIsLocked(args); err != nil {
return
}