Merge "Revert "[adb] fix signature check"" am: 920393ddb7 am: ce5e603936 am: 2e3b8be65e am: 9d555c1bd0
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1401071 Change-Id: Ib85f41bf2264fb900bf73162491418f594a9849e
This commit is contained in:
commit
dc99e5e263
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue