commit | d5000724438e3433a55c67159f8f4d33d3f3fdd1 | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Fri Aug 14 21:32:39 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Aug 14 21:32:39 2020 +0000 |
tree | 6f7ae498b464b2cc3056f0b540f8d79fbcc572b9 | |
parent | e473c89c52336e4962bbc89f2c0235ebf4ded8f9 [diff] | |
parent | c935d0c4501dd96d2a8368d109d1c57bd4683517 [diff] |
Merge "[adb] fix signature check"
diff --git a/adb/client/incremental.cpp b/adb/client/incremental.cpp index 60735f8..8ef6afd 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 {}; }