summaryrefslogtreecommitdiff
path: root/adb/file_sync_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adb/file_sync_client.cpp')
-rw-r--r--adb/file_sync_client.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp
index d284f084ab..bd0e6c41e2 100644
--- a/adb/file_sync_client.cpp
+++ b/adb/file_sync_client.cpp
@@ -736,9 +736,12 @@ static bool remote_build_list(SyncConnection& sc,
if (S_ISDIR(mode)) {
dirlist.push_back(ci);
} else {
- if (S_ISREG(mode) || S_ISLNK(mode)) {
+ if (S_ISREG(mode)) {
ci.time = time;
ci.size = size;
+ } else if (S_ISLNK(mode)) {
+ sc.Warning("skipping symlink '%s'", name);
+ ci.skip = true;
} else {
sc.Warning("skipping special file '%s'", name);
ci.skip = true;