mirror of
https://github.com/rclone/rclone.git
synced 2026-02-15 07:54:25 +00:00
We were seeing a (non-fatal) error in our logs: ``` Failed to seek log file to end: seek /proc/1/fd/1: illegal seek ``` Because we open the log file with O_APPEND, we don't need to manually seek to the end. As https://pkg.go.dev/os#File.Seek also confirms that the behavior of `Seek` is not specified if the file has been opened with O_APPEND, remove the `Seek` call.