Skip to content

Commit acc5f70

Browse files
authored
cmd/rmr: fix skipTrash on file (#5818)
Signed-off-by: jiefenghuang <[email protected]>
1 parent 523d612 commit acc5f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/meta/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ func (m *baseMeta) Remove(ctx Context, parent Ino, name string, skipTrash bool,
350350
if count != nil {
351351
atomic.AddUint64(count, 1)
352352
}
353-
return m.Unlink(ctx, parent, name)
353+
return m.Unlink(ctx, parent, name, skipTrash)
354354
}
355355
if numThreads <= 0 {
356356
logger.Infof("invalid threads number %d , auto adjust to %d", numThreads, RmrDefaultThreads)

0 commit comments

Comments
 (0)