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:
commit
2e05306b06
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user