From 4afc898c2fc783b44a6411f146e9ef7402c0666f Mon Sep 17 00:00:00 2001 From: Kapil Sareen Date: Sat, 26 Oct 2024 14:59:38 +0530 Subject: [PATCH] fix(model): don't sync symbolic links on Android (fixes #9725) (#9782) --- lib/model/folder_sendrecv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model/folder_sendrecv.go b/lib/model/folder_sendrecv.go index 9638c28aa..6ff984f23 100644 --- a/lib/model/folder_sendrecv.go +++ b/lib/model/folder_sendrecv.go @@ -398,7 +398,7 @@ func (f *sendReceiveFolder) processNeeded(snap *db.Snapshot, dbUpdateChan chan<- f.queue.Push(file.Name, file.Size, file.ModTime()) } - case build.IsWindows && file.IsSymlink(): + case (build.IsWindows || build.IsAndroid) && file.IsSymlink(): if err := f.handleSymlinkCheckExisting(file, snap, scanChan); err != nil { f.newPullError(file.Name, fmt.Errorf("handling unsupported symlink: %w", err)) break