Merge pull request #7779 from rmNULL/dont-warn-interp-for-shared-obj

with_interpreter?: Silence "no interpreter found"

Do not warn "no interpreter found" for shared ELF objects.
This commit is contained in:
Shaun Jackman 2020-06-22 12:43:58 -07:00 committed by GitHub
commit 2e05306b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ module ELFShim
begin
patchelf_patcher.interpreter.present?
rescue PatchELF::PatchError => e
opoo e
opoo e unless e.to_s.start_with? "No interpreter found"
false
end
elsif which "readelf"