1
0
mirror of https://github.com/rclone/rclone.git synced 2025-03-28 12:42:08 +02:00
Nick Craig-Wood 7d31956169 local: fix partial directory read for corrupted filesystem
Before this change if a directory entry could be listed but not
lstat-ed then rclone would give an error and abort the directory
listing with the error

    failed to read directory entry: failed to read directory "XXX": lstat XXX

This change makes sure that the directory listing carries on even
after this kind of error.

The sync will be failed but it will carry on.

This problem was caused by a programming error setting the err
variable in an outer scope when it should have been using a local err
variable.

See: https://forum.rclone.org/t/sync-aborts-if-even-one-single-unreadable-folder-is-encountered/39653
2023-07-09 17:58:03 +01:00
..
2022-06-29 14:29:36 +01:00
2022-11-07 11:41:47 +00:00
2021-09-09 20:43:59 +03:00