forked from TrueCloudLab/rclone
mount: update internal position on seek - fixes #774
This commit is contained in:
parent
4803ce010e
commit
d8d11023d3
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ func (fh *ReadFileHandle) seek(offset int64) error {
|
|||
fs.Debug(fh.o, "ReadFileHandle.Read seek close old failed: %v", err)
|
||||
}
|
||||
fh.r = r
|
||||
fh.offset = offset
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue