commit | 920393ddb70d0ef1e3388d0a0bc87591fb9aff76 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Sat Aug 15 10:59:15 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Aug 15 10:59:15 2020 +0000 |
tree | 44360c7ac7da0857f004565830dd66c771b1f802 | |
parent | 8a6e8be2b88dc64e296df30d1dc477355bf809e7 [diff] | |
parent | 2698b8ddeb378dfb8c8d89a3049f46439d69c561 [diff] |
Merge "Revert "[adb] fix signature check""
diff --git a/adb/client/incremental.cpp b/adb/client/incremental.cpp index 8ef6afd..60735f8 100644 --- a/adb/client/incremental.cpp +++ b/adb/client/incremental.cpp
@@ -122,7 +122,7 @@ } auto [signature_fd, signature] = read_and_encode_signature(st.st_size, file, silent); - if (!signature_fd.ok() || signature.empty()) { + if (signature_fd.ok() && signature.empty()) { return {}; }