Merge "adb: don\'t pull symlinks."
am: 29843cf141
* commit '29843cf1412e849978daa0aae4bd56e43f141751':
adb: don't pull symlinks.
diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp
index dcf0b26..a2d2a66 100644
--- a/adb/file_sync_client.cpp
+++ b/adb/file_sync_client.cpp
@@ -887,8 +887,7 @@
continue;
}
- if (S_ISREG(src_mode) || S_ISLNK(src_mode)) {
- // TODO(b/25601283): symlinks shouldn't be handled as files.
+ if (S_ISREG(src_mode)) {
std::string path_holder;
if (dst_isdir) {
// If we're copying a remote file to a local directory, we