aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_rm.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_fs_rm.go')
-rw-r--r--weed/shell/command_fs_rm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_rm.go b/weed/shell/command_fs_rm.go
index b383366ca..2ce3275bb 100644
--- a/weed/shell/command_fs_rm.go
+++ b/weed/shell/command_fs_rm.go
@@ -56,7 +56,7 @@ func (c *commandFsRm) Do(args []string, commandEnv *CommandEnv, writer io.Writer
return fmt.Errorf("need to have arguments")
}
- commandEnv.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {
+ commandEnv.WithFilerClient(false, func(client filer_pb.SeaweedFilerClient) error {
for _, entry := range entiries {
targetPath, err := commandEnv.parseUrl(entry)
if err != nil {