mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-04 23:12:18 +02:00
Merge pull request #91 from JunpeiAnzai/avoid_broken_symlink
Avoid syncing broken symbolic links
This commit is contained in:
commit
eb8d0fe039
|
@ -439,6 +439,9 @@ final class SyncEngine
|
|||
|
||||
private void uploadNewItems(string path)
|
||||
{
|
||||
if (isSymlink(path) && !exists(readLink(path))) {
|
||||
return;
|
||||
}
|
||||
if (isDir(path)) {
|
||||
if (path.matchFirst(skipDir).empty) {
|
||||
Item item;
|
||||
|
|
Loading…
Reference in a new issue