Merge "[adb] fix signature check"

This commit is contained in:
Songchun Fan 2020-08-14 21:32:39 +00:00 committed by Gerrit Code Review
commit d500072443
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ static unique_fd start_install(const Files& files, const Args& passthrough_args,
}
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 {};
}