don't warn "no interpreter found" for Shared ELF objects.

This commit is contained in:
rmnull 2020-06-22 01:22:22 +05:30
parent 634c457129
commit 3f211415ca
No known key found for this signature in database
GPG Key ID: 35BAB82D31EFAD91

View File

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