diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp index 268a11f59..03b59dc4d 100644 --- a/adb/file_sync_client.cpp +++ b/adb/file_sync_client.cpp @@ -852,7 +852,8 @@ bool do_sync_pull(const std::vector& srcs, const char* dst, continue; } - if (S_ISREG(mode) || S_ISLNK(mode) || S_ISCHR(mode) || S_ISBLK(mode)) { + if (S_ISREG(mode) || S_ISLNK(mode)) { + // TODO(b/25601283): symlinks shouldn't be handled as files. std::string path_holder; struct stat st; if (stat(dst_path, &st) == 0) {