forked from TrueCloudLab/rclone
b2: send correct fileName when using --hard-delete - fixes #1905
This commit is contained in:
parent
84701e376a
commit
66558213e0
1 changed files with 1 additions and 1 deletions
2
b2/b2.go
2
b2/b2.go
|
@ -1392,7 +1392,7 @@ func (o *Object) Remove() error {
|
||||||
return errNotWithVersions
|
return errNotWithVersions
|
||||||
}
|
}
|
||||||
if *b2HardDelete {
|
if *b2HardDelete {
|
||||||
return o.fs.deleteByID(o.id, o.remote)
|
return o.fs.deleteByID(o.id, o.fs.root+o.remote)
|
||||||
}
|
}
|
||||||
return o.fs.hide(o.fs.root + o.remote)
|
return o.fs.hide(o.fs.root + o.remote)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue