Merge "Revert "[adb] fix signature check""

This commit is contained in:
Treehugger Robot 2020-08-15 10:59:15 +00:00 committed by Gerrit Code Review
commit 920393ddb7

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 {};
}