1
mirror of https://github.com/rclone/rclone synced 2024-11-29 07:55:12 +01:00

b2: send correct fileName when using --hard-delete - fixes #1905

This commit is contained in:
Nick Craig-Wood 2017-12-11 18:54:28 +00:00
parent 84701e376a
commit 66558213e0

View File

@ -1392,7 +1392,7 @@ func (o *Object) Remove() error {
return errNotWithVersions
}
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)
}