mirror of
https://github.com/rclone/rclone.git
synced 2025-04-01 10:56:18 +02:00
This commit is contained in:
parent
500085d244
commit
2a806a8d8b
@ -99,8 +99,9 @@ func (f *File) applyPendingRename() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
fs.Debugf(f.o, "Running delayed rename now")
|
fs.Debugf(f.o, "Running delayed rename now")
|
||||||
err := fun()
|
if err := fun(); err != nil {
|
||||||
fs.Errorf(f.Path(), "File.Rename error: %v", err)
|
fs.Errorf(f.Path(), "delayed File.Rename error: %v", err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// rename attempts to immediately rename a file if there are no open writers.
|
// rename attempts to immediately rename a file if there are no open writers.
|
||||||
|
Loading…
Reference in New Issue
Block a user