Revert "filter message caused by stdbuf preload"

This reverts commit 7d2d3caee2.
This commit is contained in:
JerryXiao 2022-12-03 20:30:56 +08:00
parent 6169a637bf
commit 2fbb503665
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5

View file

@ -227,9 +227,6 @@ def _log_parser(log: List[str], report: checkReport) -> None:
line = log[ln]
(_, source, msg) = _split_log_line(line)
if source == 'ALPM-SCRIPTLET':
if msg == r"ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.":
logger.debug(f'hook output ignored {hook_name=} {msg=}')
continue
for r in (*(KNOWN_HOOK_OUTPUT.get('', [])), *(KNOWN_HOOK_OUTPUT.get(hook_name, []))):
if match(r, msg):
logger.debug(f'hook output match {hook_name=} {msg=} {r=}')