mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-15 20:25:18 +02:00
avoid syncing broken symlink
This commit is contained in:
parent
c91decaa16
commit
9209a649d7
|
@ -439,6 +439,9 @@ final class SyncEngine
|
||||||
|
|
||||||
private void uploadNewItems(string path)
|
private void uploadNewItems(string path)
|
||||||
{
|
{
|
||||||
|
if (isSymlink(path) && !exists(readLink(path))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (isDir(path)) {
|
if (isDir(path)) {
|
||||||
if (path.matchFirst(skipDir).empty) {
|
if (path.matchFirst(skipDir).empty) {
|
||||||
Item item;
|
Item item;
|
||||||
|
|
Loading…
Reference in a new issue